From 2480bd90fc6dc861aa6f3b51f0e68f35c8190ab9 Mon Sep 17 00:00:00 2001 From: leptun Date: Wed, 24 Jul 2019 09:55:40 +0300 Subject: [PATCH] Revert lcd_putchar to type int and retrun 0 Discussion: https://github.com/prusa3d/Prusa-Firmware/pull/2008#issuecomment-514500738 --- Firmware/lcd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/lcd.cpp b/Firmware/lcd.cpp index fd3e1328..71948789 100644 --- a/Firmware/lcd.cpp +++ b/Firmware/lcd.cpp @@ -189,9 +189,10 @@ static void lcd_begin(uint8_t clear) #endif } -static void lcd_putchar(char c, FILE *) +static int lcd_putchar(char c, FILE *) { lcd_write(c); + return 0; } void lcd_init(void)