ESP32-PaxCounter/include/configmanager.h

15 lines
289 B
C
Raw Normal View History

2018-07-17 15:15:58 +02:00
#ifndef _CONFIGMANAGER_H
#define _CONFIGMANAGER_H
2020-10-02 23:07:24 +02:00
#include "globals.h"
#include "reset.h"
#include <Preferences.h>
extern configData_t cfg;
2020-10-02 23:07:24 +02:00
void saveConfig(bool erase = false);
2020-10-04 13:15:17 +02:00
bool loadConfig(void);
2020-10-02 23:07:24 +02:00
void eraseConfig(void);
int version_compare(const String v1, const String v2);
#endif