We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0496300 commit e609c78Copy full SHA for e609c78
cores/esp32/HardwareSerial.cpp
@@ -56,7 +56,7 @@ void HardwareSerial::begin(unsigned long baud, uint32_t config, int8_t rxPin, in
56
57
if(!baud) {
58
time_t startMillis = millis();
59
- unsigned long detectedBaudRate;
+ unsigned long detectedBaudRate = 0;
60
while(millis() - startMillis < timeout_ms && !(detectedBaudRate = uartDetectBaudrate(_uart))) {
61
yield();
62
}
0 commit comments