1
0
mirror of https://github.com/skot/ESP-Miner.git synced 2025-03-19 14:22:04 +01:00
Skot 2c41cc9255
Fix a couple missed issues from the fix_warnings PR ()
* 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
2024-10-09 12:52:55 -04:00

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