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:
parent
e8348d972e
commit
df2b27f585
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue