We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b93cba1 commit 3a110aaCopy full SHA for 3a110aa
cores/esp8266/HardwareSerial.cpp
@@ -40,7 +40,7 @@ void HardwareSerial::begin(unsigned long baud, SerialConfig config, SerialMode m
40
end();
41
_uart = uart_init(_uart_nr, baud, (int) config, (int) mode, tx_pin, _rx_size);
42
#if defined(DEBUG_ESP_PORT) && !defined(NDEBUG)
43
- if (this == &DEBUG_ESP_PORT)
+ if (static_cast<void*>(this) == static_cast<void*>(&DEBUG_ESP_PORT))
44
{
45
setDebugOutput(true);
46
println();
0 commit comments