mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue