We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57eb645 commit fee85f6Copy full SHA for fee85f6
cores/esp32/esp32-hal-misc.c
@@ -191,8 +191,8 @@ BaseType_t xTaskCreateUniversal(
191
#endif
192
}
193
194
-unsigned long ARDUINO_ISR_ATTR micros() {
195
- return (unsigned long)(esp_timer_get_time());
+unsigned long long ARDUINO_ISR_ATTR micros() {
+ return (unsigned long long)(esp_timer_get_time());
196
197
198
unsigned long ARDUINO_ISR_ATTR millis() {
cores/esp32/esp32-hal.h
@@ -121,7 +121,7 @@ BaseType_t xTaskCreateUniversal(
121
TaskHandle_t *const pxCreatedTask, const BaseType_t xCoreID
122
);
123
124
-unsigned long micros();
+unsigned long long micros();
125
unsigned long millis();
126
void delay(uint32_t);
127
void delayMicroseconds(uint32_t us);
0 commit comments