kopia lustrzana https://github.com/micropython/micropython
esp8266: Fix UART stop bit constants.
As per the "ESP8266 Technical Reference".pull/2389/merge
rodzic
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 {
|
||||||
|
|
Ładowanie…
Reference in New Issue