mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-12-16 01:09:57 +00:00
half work
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user