Working UART

This commit is contained in:
2024-09-16 19:43:48 +03:00
parent cad6b45c5d
commit 2ef50d8b07
6 changed files with 142 additions and 90 deletions

View File

@ -124,6 +124,7 @@ MemoryStatus EEPROM_EARSE() {
}
MemoryStatus EEPROM_INIT() {
memset(&infoBlock, 0x00, sizeof(infoBlock));
MemoryStatus status = getInfoBlock(&infoBlock);
if (status != EEPROM_OK) {
char errorMsg[] = "Error reading InfoBlock from EEPROM\n";