mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-08 16:03:54 +00:00
Merge branch 'master' into mqtt
This commit is contained in:
commit
ac6842fe2c
11 changed files with 472 additions and 53 deletions
|
|
@ -168,7 +168,7 @@ bool CDStarNetwork::writePoll(const char* text)
|
|||
|
||||
buffer[4] = 0x0AU; // Poll with text
|
||||
|
||||
unsigned int length = (unsigned int)::strlen(text);
|
||||
unsigned int length = ::strlen(text);
|
||||
|
||||
// Include the nul at the end also
|
||||
::memcpy(buffer + 5U, text, length + 1U);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue