Skip to content

Commit 71f7e72

Browse files
committed
remove test code
1 parent 9845d71 commit 71f7e72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xs/platforms/esp/xsHost.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ extern uint8_t ESP_setBaud(int baud);
153153
*/
154154

155155
#if ESP32
156-
#define modMilliseconds() ((uint32_t)(UINT32_MAX - 10000 + xTaskGetTickCount()))
157-
#define modMicroseconds() ((uint32_t)(esp_timer_get_time()))
156+
#define modMilliseconds() ((uint32_t)xTaskGetTickCount())
157+
#define modMicroseconds() ((uint32_t)esp_timer_get_time())
158158

159159
#define modDelayMilliseconds(ms) vTaskDelay(ms)
160160
#define modDelayMicroseconds(us) vTaskDelay(((us) + 500) / 1000)

0 commit comments

Comments
 (0)