half work

This commit is contained in:
2024-09-25 01:57:33 +03:00
parent b95af34bfd
commit 31a74305f6
11 changed files with 810 additions and 652 deletions

View File

@ -49,7 +49,7 @@ MemoryStatus EEPROM_INIT() {
infoBlock.statInfo.shotsInShot = 0;
infoBlock.statInfo.shotsInProgram = 0;
infoBlock.statInfo.totalMacros = 0;
infoBlock.statInfo.shotInMacro = 0;
status = saveInfoBlock(&infoBlock);
if (status != EEPROM_OK) {
@ -121,7 +121,7 @@ MemoryStatus EEPROM_INIT() {
CDC_Transmit_FS((uint8_t*) buffer, strlen(buffer));
snprintf(buffer, sizeof(buffer), "Total Macros: %lu\n\n",
infoBlock.statInfo.totalMacros);
infoBlock.statInfo.shotInMacro);
CDC_Transmit_FS((uint8_t*) buffer, strlen(buffer));
return status;