17 lines
383 B
C
17 lines
383 B
C
#pragma once
|
|
#include <pebble.h>
|
|
|
|
#define STORAGE_KEY_SETTINGS 69
|
|
|
|
typedef struct ClaySettings {
|
|
bool ShowTimeMG;
|
|
uint8_t LowFuelBars;
|
|
GColor ColorLED;
|
|
GColor ColorBG;
|
|
GColor ColorMGBars;
|
|
GColor ColorMGTime;
|
|
GColor ColorFG;
|
|
} __attribute__((__packed__)) ClaySettings;
|
|
|
|
_Static_assert(sizeof(ClaySettings) <= 256, "ClaySettings exceeds Pebble 256-byte persist limit!");
|