diff options
author | Christian Pointner <equinox@mur.at> | 2015-03-04 01:29:46 +0100 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2015-03-04 01:29:46 +0100 |
commit | d31089906958515888ee535861032efb503f584a (patch) | |
tree | 1f54dae06f79e82be13c3d534d842b9c00debdee | |
parent | sizeof vs hardcoded length (diff) |
max size for fifo buflen is 255
-rw-r--r-- | software/hhd70dongle/hhd70dongle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c index 30153be..f762d9b 100644 --- a/software/hhd70dongle/hhd70dongle.c +++ b/software/hhd70dongle/hhd70dongle.c @@ -234,7 +234,7 @@ static void handle_cmd(uint8_t cmd) } } -uint8_t tempdata[256]; +uint8_t tempdata[255]; static void do_receive_task(uint8_t first) { |