Update reserved future settings

This commit is contained in:
RandyTheSilly committed 2026-11-13 01:20:45 -05:00
1 parent 8a6822a15c
commit 74f3660698
3 files changed
+7 -9

No files matched your search

+4 -4
View File
@@ -34,12 +34,12 @@
"messageKeys": [
"PKJS_READY",
"PKJS_ALARM_RESET",
"PKJS_TRIANGLE_COUNT",
"PKJS_TRIANGLE_SECS_MIN",
"PKJS_TRIANGLE_SECS_STEP",
"PKJS_PAVLOK_ENABLE",
"PKJS_PAVLOK_ZAP_INTENSITY",
"PKJS_PAVLOK_ZAP"
"PKJS_PAVLOK_ZAP",
"PKJS_TRIANGLE_COUNT",
"PKJS_TRIANGLE_SECS_MIN",
"PKJS_TRIANGLE_SECS_STEP"
],
"resources": {
"media": [
+2 -3
View File
@@ -1237,9 +1237,8 @@ static void init() {
settings.TriangleCount = 6;
settings.TriangleSecsMin = 18;
settings.TriangleSecsStep = 2;
settings.BeepVolume = 0; // reserved for future use
settings.AccelAxis = 7; // binary sum, 1 (x) + 2 (y) + 4 (z) = 7
settings.AccelDirection = 0; // both directions
settings.BeepVolume = 0; // reserved for future use
settings.TouchEnabled = true; // reserved for future use
}
// read even when opening setter to ensure a recovery alarm is not able to be overwritten
+1 -2
View File
@@ -21,8 +21,7 @@ typedef struct AppSettings {
uint8_t TriangleSecsStep;
//// ui
uint8_t BeepVolume; // reserved for future use
uint8_t AccelAxis; // reserved for future use
uint8_t AccelDirection; // reserved for future use
bool TouchEnabled; // reserved for future use
} __attribute__((__packed__)) AppSettings;
_Static_assert(sizeof(AppSettings) <= 256, "AppSettings exceeds Pebble 256-byte persist limit!");