mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
Merge pull request #5549 from tonhuisman/feature/Console-accept-all-ascii-characters
[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