Date:2011-06-20 22:53:56 (9 years 1 month ago)
Author:Werner Almesberger
Commit:106ef7ff7fe6b888c653d8a23ab4fa89250f08c3
Message:tools/atrf-xmit/atrf-xmit.c: corrected title comment

Files: tools/atrf-proxy/atrf-proxy.c (1 diff)
tools/atrf-xmit/atrf-xmit.c (1 diff)
tools/lib/atnet.c (1 diff)

Change Details

tools/atrf-proxy/atrf-proxy.c
169169        return netio_printf(netio, "+0x%02x\n", res);
170170    }
171171    if (!strcasecmp(cmd, "wait")) {
172        uint8_t res;
172        int res;
173173
174174        if (!n)
175175            n = 1;
tools/atrf-xmit/atrf-xmit.c
11/*
2 * atrf-ber/atrf-ber.c - Fast transmission test
2 * atrf-xmit/atrf-xmit.c - Fast transmission test
33 *
44 * Written 2011 by Werner Almesberger
55 * Copyright 2011 Werner Almesberger
tools/lib/atnet.c
474474    if (dialog(dsc, "WAIT %d", timeout_ms) < 0)
475475        return 0;
476476    value = strtoul(dsc->reply+1, &end, 0);
477    if (*end || value > 1) {
477    if (*end || value > 0xff) {
478478        fprintf(stderr, "invalid response \"%s\"\n", dsc->reply+1);
479479        dsc->error = 1;
480480        return 0;

Archive Download the corresponding diff file



interactive