1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

tools/atrf-xmit/atrf-xmit.c: corrected title comment

This commit is contained in:
Werner Almesberger
2011-06-20 17:53:56 -03:00
parent 668d8c61cf
commit 106ef7ff7f
3 changed files with 3 additions and 3 deletions

View File

@@ -474,7 +474,7 @@ int atnet_interrupt_wait(void *handle, int timeout_ms)
if (dialog(dsc, "WAIT %d", timeout_ms) < 0)
return 0;
value = strtoul(dsc->reply+1, &end, 0);
if (*end || value > 1) {
if (*end || value > 0xff) {
fprintf(stderr, "invalid response \"%s\"\n", dsc->reply+1);
dsc->error = 1;
return 0;