changed back

pull/15/head
alanbjohnston 6 years ago committed by GitHub
parent a52973ea58
commit 5fc7dd9199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -958,8 +958,7 @@ int get_tlm_fox() {
digitalWrite (0, LOW);
printf("Sending %d buffer bytes over socket!\n", ctr);
// int sock_ret = send(sock, buffer, buffSize, 0);
// int sock_ret = send(sock, buffer, ctr * 2 + 1, 0);
int sock_ret = send(sock, buffer, ctr, 0);
int sock_ret = send(sock, buffer, ctr * 2 + 1, 0);
printf("Result of socket send: %d \n", sock_ret);
if (sock_ret == -1) {
printf("Error: %s \n", strerror(errno));

Loading…
Cancel
Save

Powered by TurnKey Linux.