Skip to content

Adds HardwareSerial::setRxTimeout() #6397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Mar 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into uart_onreceive_timeout
  • Loading branch information
SuGlider authored Mar 28, 2022
commit 5574fc408992d9cdb09b0315ec696f07e8b2a366
11 changes: 6 additions & 5 deletions cores/esp32/HardwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,14 @@ void serialEventRun(void)

HardwareSerial::HardwareSerial(int uart_nr) :
_uart_nr(uart_nr),
_uart(NULL),
_rxBufferSize(256),
_onReceiveCB(NULL),
_onReceiveTimeout(true),
_rxTimeout(10),
_uart(NULL),
_rxBufferSize(256),
_txBufferSize(0),
_onReceiveCB(NULL),
_onReceiveErrorCB(NULL),
_eventTask(NULL)
_onReceiveTimeout(true),
_rxTimeout(10),
#if !CONFIG_DISABLE_HAL_LOCKS
,_lock(NULL)
#endif
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.