#pragma once #include #define STORAGE_KEY_SETTINGS 51 // BUMP ON MAJOR UPDATES #define STORAGE_KEY_ALARM_HOUR 0 #define STORAGE_KEY_ALARM_MINUTE 1 #define STORAGE_KEY_ALARM_REASON 2 typedef struct AppSettings { bool TutorialEnabled; bool PavlokEnabled; uint8_t PavlokIntensity; uint8_t TriangleCount; uint8_t TriangeMinSecs; } __attribute__((__packed__)) AppSettings; _Static_assert(sizeof(AppSettings) <= 256, "AppSettings exceeds Pebble 256-byte persist limit!");