forked from airgradienthq/arduino
fix: Local Configuration
This commit is contained in:
1 parent
51ff8f8df4
commit
cb7a6a2dfd
6 files changed
+200
-42
No files matched your search
@@ -33,12 +33,17 @@ private:
|
||||
bool co2CalibrationRequested;
|
||||
bool ledBarTestRequested;
|
||||
bool udpated;
|
||||
String failedMessage;
|
||||
|
||||
String getLedBarModeName(LedBarMode mode);
|
||||
void saveConfig(void);
|
||||
void loadConfig(void);
|
||||
void defaultConfig(void);
|
||||
void printConfig(void);
|
||||
bool jsonTypeInvalid(JSONVar root, String validType);
|
||||
String jsonTypeInvalidMessage(String name, String type);
|
||||
String jsonValueInvalidMessage(String name, String value);
|
||||
void jsonInvalid(void);
|
||||
|
||||
public:
|
||||
Configuration(Stream &debugLog);
|
||||
@@ -68,6 +73,7 @@ public:
|
||||
void reset(void);
|
||||
String getModel(void);
|
||||
bool isUpdated(void);
|
||||
String getFailedMesage(void);
|
||||
};
|
||||
|
||||
#endif /** _AG_CONFIG_H_ */
|
||||
Reference in new issue
Block a user