Skip to content

Commit 014d877

Browse files
committed
AudioRuntime micros extern
1 parent 6429335 commit 014d877

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AudioTools/AudioRuntime.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
inline void delay(uint32_t ms){ vTaskDelay(ms * 1000 / portTICK_PERIOD_MS);}
1212
inline uint32_t millis() {return (xTaskGetTickCount() * portTICK_PERIOD_MS);}
1313
inline void delayMicroseconds(uint32_t ms) {esp_rom_delay_us(ms);}
14-
inline uint64_t micros() { return esp_timer_get_time();}
14+
//inline uint64_t micros() { return xTaskGetTickCount();}
15+
extern uint64_t micros();
1516

1617
#endif
1718

0 commit comments

Comments
 (0)