Skip to content

Commit 2b2aee4

Browse files
authored
Merge pull request ARMmbed#154 from deepikabhavnani/patch-1
Use `wait_ms` instead `wait`
2 parents 89aef46 + bb98b91 commit 2b2aee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ int main()
1616
while (true) {
1717
// Blink LED and wait 0.5 seconds
1818
led1 = !led1;
19-
wait(0.5f);
19+
wait_ms(500);
2020

2121
// Following the main thread wait, report on the current system status
2222
sys_state.report_state();

0 commit comments

Comments
 (0)