Skip to content

Commit

Permalink
Fix DTR offset value (#8586)
Browse files Browse the repository at this point in the history
Correct value from uart_registers.h mask
> #define UART_DTRN (BIT(29))
  • Loading branch information
DarioGHub authored May 29, 2022
1 parent c1144c5 commit 8dee800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/esp8266_peri.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ extern volatile uint32_t* const esp8266_gpioToFn[16];
//UART STATUS Registers Bits
#define USTX 31 //TX PIN Level (Doesn't seem to work, always reads as 0 for both uarts. HW bug? Possible workaround: Enable loopback UxC0 |= 1<<UCLBE and read USRXD, see https://github.com/esp8266/Arduino/issues/7256 for discussion.)
#define USRTS 30 //RTS PIN Level
#define USDTR 39 //DTR PIN Level
#define USDTR 29 //DTR PIN Level
#define USTXC 16 //TX FIFO COUNT (8bit)
#define USRXD 15 //RX PIN Level
#define USCTS 14 //CTS PIN Level
Expand Down

0 comments on commit 8dee800

Please sign in to comment.