Skip to content
Snippets Groups Projects
Commit ab2c64cc authored by Ein Terakawa's avatar Ein Terakawa Committed by Damien George
Browse files

esp8266: Fix UART stop bit constants.

As per the "ESP8266 Technical Reference".
parent 1c6b442d
Branches
No related tags found
No related merge requests found
...@@ -14,9 +14,9 @@ typedef enum { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment