only send over socket if transmitting

pull/39/head
alanbjohnston 6 years ago committed by GitHub
parent 3677643478
commit 2fa06de1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1288,7 +1288,7 @@ if (firstTime != ON)
socket_open = 1;
}
if (!error)
if (!error && transmit)
{
// digitalWrite (0, LOW);
printf("Sending %d buffer bytes over socket after %d ms!\n", ctr, millis()-start);

Loading…
Cancel
Save

Powered by TurnKey Linux.