From c777199d34a652c6882f14d5d04275be878f5ec5 Mon Sep 17 00:00:00 2001 From: awenelo <56133692+awenelo@users.noreply.github.com> Date: Sat, 6 Mar 2021 13:26:28 -0500 Subject: [PATCH] Simplify sheet numbering --- Firmware/eeprom.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Firmware/eeprom.cpp b/Firmware/eeprom.cpp index 4c910ac2b..51d9037f4 100644 --- a/Firmware/eeprom.cpp +++ b/Firmware/eeprom.cpp @@ -135,7 +135,9 @@ void eeprom_default_sheet_name(uint8_t index, SheetName &sheetName) strcpy_P(sheetName.c, PSTR("Custom")); } - switch (index) + sheetName.c[6] = '0' + ((index % 2)+1); + +/* switch (index) { case 0: sheetName.c[6] = '1'; @@ -163,7 +165,7 @@ void eeprom_default_sheet_name(uint8_t index, SheetName &sheetName) break; default: break; - } + }*/ sheetName.c[7] = '\0'; }