mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-06 23:13:48 +00:00
Ensure the correct width of the configuration packet.
This commit is contained in:
parent
1606c4e644
commit
8ef67976ab
3 changed files with 3 additions and 5 deletions
|
|
@ -505,7 +505,7 @@ bool CDMRNetwork::writeConfig()
|
|||
::memcpy(buffer + 222U, software, ::strlen(software));
|
||||
|
||||
if (!m_location)
|
||||
::memcpy(buffer + 30U, "0.00000000.000000", 17U);
|
||||
::memcpy(buffer + 38U, "0.00000000.000000", 17U);
|
||||
|
||||
return write((unsigned char*)buffer, m_configLen + 8U);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue