mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-05-14 05:30:07 +02: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
14 lines
327 B
C
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_ */ |