From 253dc7485e68d47c14d1a034b3c52169767f6020 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Mon, 13 Feb 2017 23:29:35 +1100 Subject: Fixed typo --- libraries/MultiLCD/ILI9341.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/MultiLCD/ILI9341.cpp b/libraries/MultiLCD/ILI9341.cpp index 9cb5c27..4f8b64c 100644 --- a/libraries/MultiLCD/ILI9341.cpp +++ b/libraries/MultiLCD/ILI9341.cpp @@ -383,10 +383,10 @@ size_t LCD_ILI9341::write(uint8_t c) { if (c == '\n') { m_y += (m_font + 1) << 3; - return 0; + return 1; } else if (c == '\r') { m_x = 0; - return 0; + return 1; } #ifndef MEMORY_SAVING @@ -435,6 +435,7 @@ size_t LCD_ILI9341::write(uint8_t c) } } #endif + return 1; } void LCD_ILI9341::writeDigit(byte n) -- cgit v1.2.3