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

14 lines
327 B
C

#ifndef SERIAL_H_
#define SERIAL_H_
#define SERIAL_BUF_SIZE 16
#define CHUNK_SIZE 1024
int SERIAL_send(uint8_t *, int, bool);
esp_err_t SERIAL_init(void);
void SERIAL_debug_rx(void);
int16_t SERIAL_rx(uint8_t *, uint16_t, uint16_t);
void SERIAL_clear_buffer(void);
esp_err_t SERIAL_set_baud(int baud);
#endif /* SERIAL_H_ */