summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/uart.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/esp8266/uart.h b/esp8266/uart.h
index ebcd8b051a..684689a0ec 100644
--- a/esp8266/uart.h
+++ b/esp8266/uart.h
@@ -14,9 +14,9 @@ typedef enum {
} UartBitsNum4Char;
typedef enum {
- UART_ONE_STOP_BIT = 0,
- UART_ONE_HALF_STOP_BIT = BIT2,
- UART_TWO_STOP_BIT = BIT2
+ UART_ONE_STOP_BIT = 0x1,
+ UART_ONE_HALF_STOP_BIT = 0x2,
+ UART_TWO_STOP_BIT = 0x3
} UartStopBitsNum;
typedef enum {