SD-card Model Backup bug when model name greater than 8 chars

This commit is contained in:
bsongis
2012-05-23 12:18:24 +00:00
parent f9673e3b8b
commit e32eeec487
9 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ void menuProcTime(uint8_t event)
if (sub >= 0 && s_editMode<=0) // set the date and time into RTC chip
{
g_ms100 = 0; // start of next second begins now
g_unixTime = mktime(&t); // update local timestamp and get wday calculated
g_unixTime = gmktime(&t); // update local timestamp and get wday calculated
RTC rtc;
rtc.year = t.tm_year + 1900;