mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-21 21:45:39 +08:00
Ensure the correct width of the configuration packet.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user