We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d803adf commit d108ac6Copy full SHA for d108ac6
src/storage.c
@@ -152,7 +152,7 @@ int homekit_storage_reset_pairing_data() {
152
bzero(blank,sizeof(blank));
153
154
INFO("Formatting HomeKit storage at 0x%x", PAIRINGS_OFFSET);
155
- if (!spiflash_write(PAIRINGS_OFFSET, blank, sizeof(blank))) {
+ if (!spiflash_write(PAIRINGS_ADDR, blank, sizeof(blank))) {
156
ERROR("Failed to erase HomeKit pairing storage");
157
return -1; // Fail case
158
}
0 commit comments