diff options
author | Nao Pross <naopross@thearcway.org> | 2017-10-19 17:56:29 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-10-19 17:56:29 +0200 |
commit | 57640a10a66a97a07b954a25e976ff0d3a5d28b0 (patch) | |
tree | 0d0bb15f54b781c03a25adfbf39979dbc2d657a6 /sw/programmer/avr/usart.c | |
parent | Fix for PIO driver and its test and deletes build files (diff) | |
download | z80uPC-57640a10a66a97a07b954a25e976ff0d3a5d28b0.tar.gz z80uPC-57640a10a66a97a07b954a25e976ff0d3a5d28b0.zip |
Got a real rom programmer, this code is still broken but I don't care
Diffstat (limited to '')
-rw-r--r-- | sw/programmer/avr/usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/programmer/avr/usart.c b/sw/programmer/avr/usart.c index 8c2eb38..3d5faf6 100644 --- a/sw/programmer/avr/usart.c +++ b/sw/programmer/avr/usart.c @@ -73,7 +73,7 @@ size_t usart_read(uint8_t *buffer, size_t len) uint8_t *p = buffer; while (len--) { - if (usart_read_byte(p) == 0) { + if (usart_read_byte(p) == 0) { p++; read++; } |