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 0c2714b commit 4a4930cCopy full SHA for 4a4930c
src/AudioTools/AudioRuntime.h
@@ -11,8 +11,7 @@
11
inline void delay(uint32_t ms){ vTaskDelay(ms / portTICK_PERIOD_MS);}
12
inline uint32_t millis() {return (xTaskGetTickCount() * portTICK_PERIOD_MS);}
13
inline void delayMicroseconds(uint32_t ms) {esp_rom_delay_us(ms);}
14
-//inline uint64_t micros() { return xTaskGetTickCount();}
15
-// extern uint64_t micros();
+inline uint64_t micros() { return xTaskGetTickCount() * portTICK_PERIOD_MS * 1000;}
16
17
#endif
18
0 commit comments