1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-05-06 18:19:16 +03:00

Fix sntp_get_real_time prototype in header ()

sntp_get_real_time takes a `time_t` in the core, but in the header it
was listed as `long`.  Make them both match by changing the header.
This commit is contained in:
Earle F. Philhower, III 2020-11-14 00:38:29 -08:00 committed by GitHub
parent 9b437d7c5e
commit 417aacc509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,7 @@ uint32 sntp_get_current_timestamp();
/**
* get real time (GTM + 8 time zone)
*/
char* sntp_get_real_time(long t);
char* sntp_get_real_time(time_t t);
/**
* SNTP get time_zone default GMT + 8
*/