changing sent printf

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent fa2eee922c
commit ee26fa813d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -913,7 +913,7 @@ int get_tlm_fox() {
if (!error) if (!error)
{ {
digitalWrite (0, LOW); digitalWrite (0, LOW);
printf("Sending %d buffer bytes over socket!\n", buffSize); printf("Sending %d buffer bytes over socket!\n", ctr);
// int sock_ret = send(sock, buffer[alt], buffSize, 0); // int sock_ret = send(sock, buffer[alt], buffSize, 0);
int sock_ret = send(sock, buffer[alt], ctr, 0); int sock_ret = send(sock, buffer[alt], ctr, 0);
printf("Result of socket send: %d \n", sock_ret); printf("Result of socket send: %d \n", sock_ret);

Loading…
Cancel
Save

Powered by TurnKey Linux.