1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-11 09:43:08 +03:00

emulation on host: millis()/micros() now start at 0 (#7810)

emulation on host: millis()/micros() now start at 0
This commit is contained in:
david gauchard
2021-01-05 12:21:16 +01:00
committed by GitHub
parent 100a8df33f
commit 43f44e4b13
2 changed files with 11 additions and 2 deletions

View File

@@ -295,6 +295,9 @@ int main (int argc, char* const argv [])
// install exit handler in case Esp.restart() is called
atexit(cleanup);
// first call to millis(): now is millis() and micros() beginning
millis();
setup();
while (!user_exit)
{