change UART speed to 1.5 Mbps because CP2101 can't handle 2 Mpbs
This commit is contained in:
parent
f1c078c721
commit
3bc254fd52
|
@ -40,7 +40,7 @@
|
|||
#define USART_ID 1 /**< USART peripheral */
|
||||
/** @} */
|
||||
|
||||
#define USART_BAUDRATE 2000000 /**< serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */
|
||||
#define USART_BAUDRATE 1500000 /**< serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */
|
||||
|
||||
/* input and output ring buffer, indexes, and available memory */
|
||||
static uint8_t rx_buffer[USART_BUFFER] = {0}; /**< ring buffer for received data */
|
||||
|
|
Loading…
Reference in New Issue