newlib: rename esp_setup_time_syscalls to esp_set_time_from_rtc

This function no longer sets up syscalls, and new name reflects its
purpose better.
This commit is contained in:
Ivan Grokhotkov
2017-08-29 11:48:18 +08:00
parent d2acf1ce77
commit f31efb697c
4 changed files with 7 additions and 11 deletions

View File

@@ -34,10 +34,8 @@ void esp_reent_init(struct _reent* r);
void esp_setup_syscall_table();
/**
* Initialize hardware timer used as time source for newlib time functions.
*
* Called from the startup code, not intended to be called from application.
* Update current microsecond time from RTC
*/
void esp_setup_time_syscalls();
void esp_set_time_from_rtc();
#endif //__ESP_NEWLIB_H__