esp8266: Fix UART stop bit constants.
As per the "ESP8266 Technical Reference".
This commit is contained in:
parent
1c6b442d32
commit
ab2c64cc76
|
@ -14,9 +14,9 @@ typedef enum {
|
||||||
} UartBitsNum4Char;
|
} UartBitsNum4Char;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
UART_ONE_STOP_BIT = 0,
|
UART_ONE_STOP_BIT = 0x1,
|
||||||
UART_ONE_HALF_STOP_BIT = BIT2,
|
UART_ONE_HALF_STOP_BIT = 0x2,
|
||||||
UART_TWO_STOP_BIT = BIT2
|
UART_TWO_STOP_BIT = 0x3
|
||||||
} UartStopBitsNum;
|
} UartStopBitsNum;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Reference in New Issue