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 (#7707)
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:
parent
9b437d7c5e
commit
417aacc509
@ -18,7 +18,7 @@ uint32 sntp_get_current_timestamp();
|
|||||||
/**
|
/**
|
||||||
* get real time (GTM + 8 time zone)
|
* 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
|
* SNTP get time_zone default GMT + 8
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user