From 57640a10a66a97a07b954a25e976ff0d3a5d28b0 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 19 Oct 2017 17:56:29 +0200 Subject: Got a real rom programmer, this code is still broken but I don't care --- sw/programmer/avr/usart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/programmer/avr/usart.c') 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++; } -- cgit v1.2.1