mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Do not yield during delayMicroseconds
This commit is contained in:
@ -52,9 +52,9 @@ void delay( uint32_t ms )
|
||||
|
||||
void delayMicroseconds( uint32_t us )
|
||||
{
|
||||
uint32_t start = micros();
|
||||
while ((micros() - start) < us)
|
||||
yield();
|
||||
uint32_t start = micros();
|
||||
while ((micros() - start) < us)
|
||||
;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user