Skip to content

Commit 72c34bf

Browse files
authored
Fix Chrono compilation warnings (#214)
1 parent 63f0a50 commit 72c34bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
// Blinking rate in milliseconds
10-
#define BLINKING_RATE_MS 500
10+
#define BLINKING_RATE 500ms
1111

1212

1313
int main()
@@ -17,6 +17,6 @@ int main()
1717

1818
while (true) {
1919
led = !led;
20-
ThisThread::sleep_for(BLINKING_RATE_MS);
20+
ThisThread::sleep_for(BLINKING_RATE);
2121
}
2222
}

0 commit comments

Comments
 (0)