Skip to content

Commit ea7b273

Browse files
author
Juhani Puurula
committed
mac_commands.cpp: fix wait command
1 parent e94d7d0 commit ea7b273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TEST_APPS/device/nanostack_mac_tester/source/mac_commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ int mac_wait_command(int argc, char *argv[])
15191519
}
15201520
}
15211521
while (data_count < 1) {
1522-
Thread::wait(10);
1522+
ThisThread::sleep_for(10);
15231523
remaining_ms -= 10;
15241524
if (remaining_ms <= 0) {
15251525
return CMDLINE_RETCODE_FAIL;

0 commit comments

Comments
 (0)