int time_valid = 0;
int rtc_conf_ok = 0;
-int time_init_check(uint32_t uart)
+int scialys_time_init_check(uint32_t uart)
{
int ret = 0;
ret = rtc_pcf85363a_config(&rtc_conf);
return ret;
}
-int time_update(uint32_t uart, struct rtc_time* now)
+int scialys_time_update(uint32_t uart, struct rtc_time* now)
{
rtc_pcf85363_time_write(&rtc_conf, now);
return 0;
/***************************************************************************** */
/* RTC init */
-void time_config(uint32_t i2c_bus_num, uint8_t rtc_addr)
+void scialys_time_config(uint32_t i2c_bus_num, uint8_t rtc_addr)
{
rtc_conf.bus_num = i2c_bus_num;
rtc_conf.addr = rtc_addr;
extern struct rtc_pcf85363a_config rtc_conf;
extern struct rtc_time now;
-int time_init_check(uint32_t uart);
-void time_config(uint32_t i2c_bus_num, uint8_t rtc_addr);
+int scialys_time_init_check(uint32_t uart);
+void scialys_time_config(uint32_t i2c_bus_num, uint8_t rtc_addr);
#endif /* RTC_TIME_H */