mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 21:32:52 +01:00
* move ADC_init() before start_http_server() because the UI reads the ADC * split SYSTEM_init() into separate functions. cleaned up nvs init. * fix my dumb INA260_init() memory leak * SYSTEM_init_peripherals() cleanup
13 lines
310 B
C
13 lines
310 B
C
#ifndef MAIN_NVS_DEVICE_H
|
|
#define MAIN_NVS_DEVICE_H
|
|
|
|
#include <stdbool.h>
|
|
#include "esp_err.h"
|
|
#include "global_state.h"
|
|
|
|
esp_err_t NVSDevice_init(void);
|
|
esp_err_t NVSDevice_parse_config(GlobalState *);
|
|
esp_err_t NVSDevice_get_wifi_creds(GlobalState *, char **, char **, char **);
|
|
|
|
#endif // MAIN_NVS_DEVICE_H
|