Ensure the correct width of the configuration packet.

This commit is contained in:
Jonathan Naylor
2020-08-28 10:58:33 +01:00
parent 1606c4e644
commit 8ef67976ab
3 changed files with 3 additions and 5 deletions

View File

@@ -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);
}