summaryrefslogtreecommitdiffstats
path: root/sw/programmer/avr/usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/programmer/avr/usart.c')
-rw-r--r--sw/programmer/avr/usart.c2
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++;
}