ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
f105-motor-demo_esp/user/pers_cfg.h

23 lines
360 B

#ifndef REPORTING_H
#define REPORTING_H
#include <esp8266.h>
typedef struct {
// ...
uint32_t magic;
} PersistentCfg;
/** Reporting config struct */
extern PersistentCfg pers_conf;
/** Save reporting config to flash */
void persistent_cfg_save(void);
/** Load the reporting config from flash */
void persistent_cfg_load(void);
#endif // REPORTING_H