return 1;
}
+#ifndef AO_STORAGE_ERASED_BYTE
+#define AO_STORAGE_ERASED_BYTE 0xff
+#endif
+
uint8_t
ao_storage_is_erased(uint32_t pos)
{
goto done;
}
for (i = 0; i < this_time; i++)
- if (storage_data[i] != 0xff) {
+ if (storage_data[i] != AO_STORAGE_ERASED_BYTE) {
ret = 0;
goto done;
}