Missing menu itema and compilation fix

This commit is contained in:
Damjan Adamic
2016-09-02 23:25:05 +02:00
parent 874483ba55
commit 61e6e63856
2 changed files with 2 additions and 4 deletions
@@ -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);
}