airspeed and heading

This commit is contained in:
2024-01-20 21:20:18 +01:00
parent 5b9cd80210
commit 5c57dfa003
3 changed files with 92 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ void sendCommand(int sock, char *cmd) {
int numBytesSend = send(sock, bytesToSend, 5 + strlen(cmd), 0);
if (numBytesSend >= 0) {
printf("Send %d bytes to %s:%d: %s\n", numBytesSend, SERVER, PORT, printable(bytesToSend));
//printf("Send %d bytes to %s:%d: %s\n", numBytesSend, SERVER, PORT, printable(bytesToSend));
} else {
fprintf(stderr, "Failed to send message to %s:%d (%d): %s", SERVER, PORT, errno, strerror(errno));
exit(EXIT_FAILURE);