ESP-Miner/main/DS4432U.h
Skot 22cb8bf4e2
Make selftest failing non-fatal (#524)
* 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
2024-11-30 10:02:09 -05:00

15 lines
329 B
C

#ifndef DS4432U_H_
#define DS4432U_H_
#include <stdbool.h>
#include "esp_check.h"
#define DS4432_VRFS 0.997
esp_err_t DS4432U_test(void);
esp_err_t DS4432U_init(void);
esp_err_t DS4432U_set_current_code(uint8_t output, uint8_t code);
esp_err_t DS4432U_get_current_code(uint8_t output, uint8_t *code);
#endif /* DS4432U_H_ */