Skip to content

Commit 4b8fb20

Browse files
committed
Fix warning about gettimeofday (esp8266#1058)
1 parent ab16b2f commit 4b8fb20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp8266/time.c

+1
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,5 @@ int gettimeofday(struct timeval *tp, void *tzp)
124124
tp->tv_sec = (s_bootTime + millis()) / 1000;
125125
tp->tv_usec = micros() * 1000;
126126
}
127+
return 0;
127128
}

0 commit comments

Comments
 (0)