awenelo пре 3 година
родитељ
комит
c777199d34
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      Firmware/eeprom.cpp

+ 4 - 2
Firmware/eeprom.cpp

@@ -135,7 +135,9 @@ void eeprom_default_sheet_name(uint8_t index, SheetName &sheetName)
         strcpy_P(sheetName.c, PSTR("Custom"));
         strcpy_P(sheetName.c, PSTR("Custom"));
     }
     }
 
 
-    switch (index)
+    sheetName.c[6] = '0' + ((index % 2)+1);
+
+/*    switch (index)
     {
     {
     case 0:
     case 0:
         sheetName.c[6] = '1';
         sheetName.c[6] = '1';
@@ -163,7 +165,7 @@ void eeprom_default_sheet_name(uint8_t index, SheetName &sheetName)
         break;
         break;
     default:
     default:
         break;
         break;
-    }
+    }*/
 
 
     sheetName.c[7] = '\0';
     sheetName.c[7] = '\0';
 }
 }