From 70a8382000babe0d61c03fb2303fa2b289120333 Mon Sep 17 00:00:00 2001 From: Stefan Dorn Date: Mon, 8 Aug 2016 20:35:00 +0100 Subject: [PATCH] fix debug_print --- src/keyboard/controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard/controller.c b/src/keyboard/controller.c index 21ad56a..cc4492e 100644 --- a/src/keyboard/controller.c +++ b/src/keyboard/controller.c @@ -1357,7 +1357,7 @@ void usb_debug_flush_output(void) { void usb_debug_print(const char *s) { char c; - while ((c = pgm_read_byte(c))) { + while ((c = pgm_read_byte(s++))) { usb_debug_putchar(c); } usb_debug_flush_output();