esp8266: Fix UART stop bit constants.

As per the "ESP8266 Technical Reference".
This commit is contained in:
Ein Terakawa 2017-08-16 10:23:27 +00:00 committed by Damien George
parent 1c6b442d32
commit ab2c64cc76
1 changed files with 3 additions and 3 deletions

View File

@ -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 {