Skip to content

Commit 3b12699

Browse files
authored
error fix
1 parent 6fe0751 commit 3b12699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/HardwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ void HardwareSerial::setRxInvert(bool invert)
491491
// negative Pin value will keep it unmodified
492492
void HardwareSerial::setPins(int8_t rxPin, int8_t txPin, int8_t ctsPin, int8_t rtsPin)
493493
{
494-
if(uart == NULL) {
494+
if(_uart == NULL) {
495495
log_e("setPins() shall be called after begin() - nothing done");
496496
return;
497497
}

0 commit comments

Comments
 (0)