Skip to content

Commit c00d3e5

Browse files
authored
Merge pull request ARMmbed#286 from rajkan01/waitapi_remove_deprecated
Remove wait deprecated API usage
2 parents f900e17 + f1e257c commit c00d3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BLE_GAP/source/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ int main()
769769

770770
while (1) {
771771
demo.run();
772-
wait_ms(TIME_BETWEEN_MODES_MS);
772+
thread_sleep_for(TIME_BETWEEN_MODES_MS);
773773
printf("\r\nStarting next GAP demo mode\r\n");
774774
};
775775

0 commit comments

Comments
 (0)