[Serial] Fix failing build on minimal ESP8266 builds

This commit is contained in:
Gijs Noorlander
2026-07-18 20:53:07 +02:00
parent 72171b9500
commit 759285e9bd
2 changed files with 4 additions and 2 deletions
@@ -161,6 +161,7 @@ void EspEasy_Console_Port::readInput()
}
}
#if FEATURE_DEFINE_SERIAL_CONSOLE_PORT
ESPEasySerialPort EspEasy_Console_Port::getPortType() const
{
#if FEATURE_DEFINE_SERIAL_CONSOLE_PORT
@@ -173,6 +174,7 @@ ESPEasySerialPort EspEasy_Console_Port::getPortType() const
return ESPEasySerialPort::serial0;
#endif // if FEATURE_DEFINE_SERIAL_CONSOLE_PORT
}
#endif
bool EspEasy_Console_Port::process_serialWriteBuffer()
{
+2 -2
View File
@@ -32,9 +32,9 @@ struct EspEasy_Console_Port {
void endPort();
void readInput();
#if FEATURE_DEFINE_SERIAL_CONSOLE_PORT
ESPEasySerialPort getPortType() const;
#endif
bool process_serialWriteBuffer();
bool process_consoleInput(uint8_t SerialInByte);