Browse Source

oups, need more tests

master
tth 3 months ago
parent
commit
3301315367
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      Gaby/transmit.c

+ 6
- 4
Gaby/transmit.c View File

@ -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