Skip to content

Commit bbdb8f2

Browse files
committed
busy_wait
1 parent 6353b0e commit bbdb8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/zephyrCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ void noTone(pin_size_t pinNumber) {
319319

320320
void delay(unsigned long ms) { k_sleep(K_MSEC(ms)); }
321321

322-
void delayMicroseconds(unsigned int us) { k_sleep(K_USEC(us)); }
322+
void delayMicroseconds(unsigned int us) { k_busy_wait(us); }
323323

324324
unsigned long micros(void) {
325325
return k_cyc_to_us_floor32(k_cycle_get_32());

0 commit comments

Comments
 (0)