mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-06 06:43:53 +00:00
Fix the Wires-X data collector and other fixes.
This commit is contained in:
parent
340eab64a6
commit
5e6b6a4061
4 changed files with 64 additions and 57 deletions
|
|
@ -114,7 +114,7 @@ void CNetwork::clock(unsigned int ms)
|
|||
// Handle the status command
|
||||
if (::memcmp(buffer, "YSFS", 4U) == 0) {
|
||||
unsigned char status[50U];
|
||||
::sprintf((char*)status, "YSFS%05u%16.16s%14.14s%03u", 1U, "Parrot", "Parrot", 0U);
|
||||
::sprintf((char*)status, "YSFS%05u%-16.16s%-14.14s%03u", 1U, "Parrot", "Parrot", 0U);
|
||||
m_socket.write(status, 42U, address, port);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue