We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ae8fc commit e2a0eb8Copy full SHA for e2a0eb8
cores/arduino/zephyrCommon.cpp
@@ -257,7 +257,9 @@ void noTone(pin_size_t pinNumber) {
257
gpio_pin_set_dt(&arduino_pins[pinNumber], 0);
258
}
259
260
-void delay(unsigned long ms) { k_sleep(K_MSEC(ms)); }
+void delay(unsigned long ms) {
261
+ k_sleep(K_MSEC(ms));
262
+}
263
264
void delayMicroseconds(unsigned int us) {
265
k_busy_wait(us);
@@ -267,7 +269,9 @@ unsigned long micros(void) {
267
269
return k_cyc_to_us_floor32(k_cycle_get_32());
268
270
271
-unsigned long millis(void) { return k_uptime_get_32(); }
272
+unsigned long millis(void) {
273
+ return k_uptime_get_32();
274
275
276
#ifdef CONFIG_PWM
277
0 commit comments