mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 21:32:52 +01:00
* switched selftest fail to be non fatal * switched to BOOT longpress to reboot after selftest * lots and lots of error handling cleanup. <slippery slope> * move around the DS4432U_Init() function call
11 lines
271 B
C
11 lines
271 B
C
#ifndef VCORE_H_
|
|
#define VCORE_H_
|
|
|
|
#include "global_state.h"
|
|
|
|
esp_err_t VCORE_init(GlobalState * global_state);
|
|
esp_err_t VCORE_set_voltage(float core_voltage, GlobalState * global_state);
|
|
uint16_t VCORE_get_voltage_mv(GlobalState * global_state);
|
|
|
|
#endif /* VCORE_H_ */
|