altos: Switch all tick variables to AO_TICK_TYPE/AO_TICK_SIGNED
[fw/altos] / src / kernel / ao_storage.c
index 1554cee777254740a0d98f1bd8d7e3b71f8dad7c..43abc43c1ec9e24396aff9a0c5dcc13dce44e386 100644 (file)
@@ -107,7 +107,7 @@ 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;
                        }