Update main.c

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

@ -913,7 +913,7 @@ int get_tlm_fox() {
digitalWrite (0, LOW); digitalWrite (0, LOW);
printf("Sending buffer over socket!\n"); printf("Sending buffer over socket!\n");
int sock_ret = send(sock, buffer[alt], buffSize, 0); int sock_ret = send(sock, buffer[alt], buffSize, 0);
printf("Result of socket send: %d errorno: %d \n", sock_ret, strerror(errno)); printf("Result of socket send: %d errorno: %s \n", sock_ret, strerror(errno));
alt = (++alt) % 2; alt = (++alt) % 2;
printf("Alternate value is %d \n", alt); printf("Alternate value is %d \n", alt);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.