mirror of
https://git.wetfence.xyz/RandyTheSilly/Trigalarm.git
synced 2026-09-01 08:26:29 -04:00
21 lines
525 B
C
21 lines
525 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
// BUMP ON UPDATES
|
|
#define STORAGE_KEY_SETTINGS 50
|
|
#define STORAGE_KEY_ALARM_REASON 100
|
|
|
|
#define STORAGE_KEY_ALARM_HOUR 0
|
|
#define STORAGE_KEY_ALARM_MINUTE 1
|
|
|
|
typedef struct AppSettings {
|
|
bool TutorialEnabled;
|
|
bool PavlokEnabled;
|
|
uint8_t AwarenessTimeGapMinutes;
|
|
uint8_t AwarenessTimeLimitSeconds;
|
|
uint8_t AwarenessNudgeEnabled;
|
|
} __attribute__((__packed__)) AppSettings;
|
|
|
|
_Static_assert(sizeof(AppSettings) <= 256, "AppSettings exceeds Pebble 256-byte persist limit!");
|