Fix issue with #17904. (#17905)

This commit is contained in:
Nick Brassel 2022-08-04 22:15:42 +10:00 committed by GitHub
parent 94e8701b3e
commit d9eb152a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ uint16_t EEPROM_Init(void) {
eeprom_printf("DataBuf[0x%04x] = 0x%04x;\n", address, wvalue); eeprom_printf("DataBuf[0x%04x] = 0x%04x;\n", address, wvalue);
*(uint16_t *)(&DataBuf[address]) = wvalue; *(uint16_t *)(&DataBuf[address]) = wvalue;
} else { } else {
eeprom_printf("DataBuf[0x%04x] cannot be set to 0x%04lx [BAD ADDRESS]\n", address, wvalue); eeprom_printf("DataBuf[0x%04x] cannot be set to 0x%04x [BAD ADDRESS]\n", address, wvalue);
} }
} }
} }