Missing menu itema and compilation fix
This commit is contained in:
@@ -42,9 +42,8 @@ void readRtc()
|
||||
g_rtcTime = gmktime(&utm);
|
||||
}
|
||||
|
||||
void writeRtc(gtm* ptr)
|
||||
void writeRtc(const gtm* ptr)
|
||||
{
|
||||
g_rtcTime = gmktime(ptr);
|
||||
g_ms100 = 0; // start of next second begins now
|
||||
uint8_t buffer[7];
|
||||
uint8_t read_buffer[7];
|
||||
@@ -62,7 +61,6 @@ void writeRtc(gtm* ptr)
|
||||
|
||||
void rtcSetTime(const struct gtm * t)
|
||||
{
|
||||
g_ms100 = 0; // start of next second begins now
|
||||
writeRtc(t);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user