Added baudrate detection to esp32-hal-uart and HardwareSerial (#1961)

* Added baudrate detection to esp32-hal-uart and HardwareSerial

* Solved compiler warning for uartResizeRxBuffer()

* Add unit to header variable name (timeout_ms)

* Reverting accidentally changed files to master

* Add small delay after baudrate detection
This commit is contained in:
Jeroen88
2018-11-19 16:51:55 +01:00
committed by Me No Dev
parent 65c861ad4c
commit 233d31bed2
4 changed files with 105 additions and 4 deletions

View File

@ -72,6 +72,8 @@ size_t uartResizeRxBuffer(uart_t* uart, size_t new_size);
void uartSetDebug(uart_t* uart);
int uartGetDebug();
unsigned long uartDetectBaudrate(uart_t *uart);
#ifdef __cplusplus
}
#endif