Browse Source

oups, need more tests

master
tth 1 year ago
parent
commit
3301315367
  1. 10
      Gaby/transmit.c

10
Gaby/transmit.c

@ -116,9 +116,11 @@ if (number<0 || number>16) { @@ -116,9 +116,11 @@ if (number<0 || number>16) {
sprintf(message, "T%01x%1x", number, state);
fprintf(stderr, "%s ----> '%s'\n", __func__, message);
return -1;
foo = write(fdtx, message, 3);
if (3 != foo) {
perror("write ?");
return -1;
}
return 0;
}
/* ---------------------------------------------------------------- */

Loading…
Cancel
Save