oups, need more tests
This commit is contained in:
parent
030472e7d9
commit
3301315367
@ -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…
Reference in New Issue
Block a user