mirror of
https://git.wetfence.xyz/RandyTheSilly/Civic-Segments.git
synced 2026-08-28 04:36:29 -04:00
21 lines
480 B
C
21 lines
480 B
C
#pragma once
|
|
#include <pebble.h>
|
|
|
|
#define STORAGE_KEY_SETTINGS 69
|
|
|
|
typedef struct ClaySettings {
|
|
uint8_t DateTimeoutSecs;
|
|
bool ShowTimeMG;
|
|
uint8_t LowFuelBars;
|
|
GColor ColorLED;
|
|
GColor ColorBG;
|
|
GColor ColorMGBars;
|
|
GColor ColorBarsCool;
|
|
GColor ColorBarsHot;
|
|
GColor ColorMGTime;
|
|
GColor ColorFG;
|
|
GColor ColorLowFuel;
|
|
} __attribute__((__packed__)) ClaySettings;
|
|
|
|
_Static_assert(sizeof(ClaySettings) <= 256, "ClaySettings exceeds Pebble 256-byte persist limit!");
|