Fix buffer overflow when writing ipaddress info that became too long to Nextion display

(i.e. when using Predictable Network Interface Names in linux)
This commit is contained in:
root 2018-08-15 15:59:53 +00:00
parent e8348d972e
commit df2b27f585
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void CNextion::setIdleInt()
sendCommand("page MMDVM");
sendCommandAction(1U);
char command[30U];
char command[100U];
::sprintf(command, "dim=%u", m_idleBrightness);
sendCommand(command);