diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/MultiLCD/ILI9341.cpp | 5 |
1 files 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) |