Skip to content

Commit 479f1b3

Browse files
d-a-vdevyte
authored andcommitted
HardwareSerial: one more duplicate test missing the call (esp8266#4547)
1 parent f8f205d commit 479f1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/HardwareSerial.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class HardwareSerial: public Stream
168168
}
169169
bool isRxEnabled(void)
170170
{
171-
return _uart && uart_rx_enabled(_uart);
171+
return uart_rx_enabled(_uart);
172172
}
173173
int baudRate(void)
174174
{

0 commit comments

Comments
 (0)