diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-02-13 23:29:35 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2017-02-13 23:29:35 +1100 |
commit | 253dc7485e68d47c14d1a034b3c52169767f6020 (patch) | |
tree | a0a1d22e6c13bf200e3c42ceb32b30bb4e2c0176 /libraries/MultiLCD | |
parent | a8f61f1a5e34c0fbf52d897a0cbaecbe75577662 (diff) | |
download | 2021-arduino-obd-253dc7485e68d47c14d1a034b3c52169767f6020.tar.gz 2021-arduino-obd-253dc7485e68d47c14d1a034b3c52169767f6020.tar.bz2 2021-arduino-obd-253dc7485e68d47c14d1a034b3c52169767f6020.zip |
Fixed typo
Diffstat (limited to 'libraries/MultiLCD')
-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) |