mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Serial] Fix failing build on minimal ESP8266 builds
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user