mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[Console] Accept all valid ASCII characters for input
This commit is contained in:
@@ -152,7 +152,7 @@ bool EspEasy_Console_Port::process_consoleInput(uint8_t SerialInByte)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isprint(SerialInByte))
|
||||
if (SerialInByte >= 32) // Any character from space and up
|
||||
{
|
||||
if (SerialInByteCounter < CONSOLE_INPUT_BUFFER_SIZE) { // add char to string if it still fits
|
||||
InputBuffer_Serial[SerialInByteCounter++] = SerialInByte;
|
||||
|
||||
Reference in New Issue
Block a user