• Jeroen88's avatar
    Bugfix/detect baudrate (#3188) · f71a4bd4
    Jeroen88 authored
    * Expose uartStartDetectBaudrate(uart_t *) in esp32-hal-uart.h and call it from HardwareSerial::begin() if baudrate detection is requested (by passing a baudrate of 0) to solve baudrate detection problems
    
    * Avoid a division by zero error in uartGetBaudRate()
    f71a4bd4
esp32-hal-uart.c 15.6 KB