diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-12 23:01:46 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-12 23:03:12 -0400 |
commit | ae9bc93cccf8ed1f33f45555ceb7a26fcc8e4990 (patch) | |
tree | c5364778c93e3c44271f2fcb8f4be155e2304887 /src | |
parent | afc665d7c8d3d9a03462b1c56dd31b6195c9ee96 (diff) | |
download | kutter-ae9bc93cccf8ed1f33f45555ceb7a26fcc8e4990.tar.gz kutter-ae9bc93cccf8ed1f33f45555ceb7a26fcc8e4990.tar.xz kutter-ae9bc93cccf8ed1f33f45555ceb7a26fcc8e4990.zip |
avr: Fix readl() typo in serial.c
The code should have used a readb() call instead of readl().
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/avr/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/serial.c b/src/avr/serial.c index 61ad1c1e..10b95992 100644 --- a/src/avr/serial.c +++ b/src/avr/serial.c @@ -121,7 +121,7 @@ console_pop_input(uint8_t len) void console_task(void) { - uint8_t pop_count, rpos = readl(&receive_pos); + uint8_t pop_count, rpos = readb(&receive_pos); int8_t ret = command_find_block(receive_buf, rpos, &pop_count); if (ret > 0) command_dispatch(receive_buf, pop_count); |