Исправляем опечатку для ESP32

This commit is contained in:
2022-11-06 13:07:52 +03:00
parent 0b2c0df326
commit b07436742b

View File

@@ -37,7 +37,7 @@ class UART : public IoTItem {
#endif
#ifdef ESP32
_myUART = new HardwareSerial(2);
_myUART->begin(speed, SERIAL_8N1, rx, tx);
_myUART->begin(_speed, SERIAL_8N1, _rx, _tx);
#endif
}