2018-07-17 15:15:58 +02:00
|
|
|
#ifndef _CONFIGMANAGER_H
|
|
|
|
#define _CONFIGMANAGER_H
|
2018-06-09 22:28:20 +02:00
|
|
|
|
2020-10-02 23:07:24 +02:00
|
|
|
#include "globals.h"
|
2021-03-21 20:20:39 +01:00
|
|
|
#include "reset.h"
|
2020-10-04 19:10:36 +02:00
|
|
|
#include <Preferences.h>
|
2019-03-17 19:22:58 +01:00
|
|
|
|
2021-03-31 21:43:51 +02:00
|
|
|
extern configData_t cfg;
|
|
|
|
|
2021-04-07 15:15:41 +02:00
|
|
|
void saveConfig(bool erase);
|
2021-12-27 21:03:41 +01:00
|
|
|
void loadConfig(void);
|
2020-10-02 23:07:24 +02:00
|
|
|
void eraseConfig(void);
|
2020-10-04 19:10:36 +02:00
|
|
|
int version_compare(const String v1, const String v2);
|
2018-06-09 22:28:20 +02:00
|
|
|
|
|
|
|
#endif
|