mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
prepare for ems plujs updates
This commit is contained in:
@@ -343,9 +343,11 @@ void TelnetSpy::flush(void) {
|
||||
#ifdef ESP8266
|
||||
|
||||
void TelnetSpy::begin(unsigned long baud, SerialConfig config, SerialMode mode, uint8_t tx_pin) {
|
||||
|
||||
if (usedSer) {
|
||||
usedSer->begin(baud, config, mode, tx_pin);
|
||||
}
|
||||
|
||||
started = true;
|
||||
}
|
||||
|
||||
@@ -433,6 +435,7 @@ TelnetSpy::operator bool() const {
|
||||
}
|
||||
|
||||
void TelnetSpy::setDebugOutput(bool en) {
|
||||
|
||||
debugOutput = en;
|
||||
|
||||
// TODO: figure out how to disable system printing for the ESP32
|
||||
|
||||
Reference in New Issue
Block a user