-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcore.h
More file actions
27 lines (22 loc) · 736 Bytes
/
Copy pathcore.h
File metadata and controls
27 lines (22 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Created by akom on 7/18/23.
//
#ifndef HOT_TUB_CONTROLLER_CORE_H
#define HOT_TUB_CONTROLLER_CORE_H
#include <Preferences.h>
// NTP stuff
#include "time.h"
#include "sntp.h"
extern const char * PREFERENCES_NAME;
extern Preferences app_preferences;
extern struct tm *main_device_time;
extern int timezone_offset; // inferred at runtime, this is not a configuration parameter.
// Winterized mode: when true, every control is forced OFF and schedules/overrides are
// ignored (stored settings are preserved). Persisted in NVS ("winterized"); cached here
// and loaded at boot. See getOnState() in HotTubUtils.cpp.
extern bool spaWinterized;
//
//typedef struct spa_config {
//
//} spa_config;
#endif //HOT_TUB_CONTROLLER_CORE_H