oups, need more tests

This commit is contained in:
tth 2021-07-20 12:04:47 +02:00
parent 030472e7d9
commit 3301315367
1 changed files with 6 additions and 4 deletions

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;
}
/* ---------------------------------------------------------------- */