]> git.donarmstrong.com Git - qmk_firmware.git/commit
(OLED) Added support for CR (#6399)
authorXScorpion2 <rcalt2vt@gmail.com>
Sat, 27 Jul 2019 20:17:18 +0000 (15:17 -0500)
committerDrashna Jaelre <drashna@live.com>
Sat, 27 Jul 2019 20:17:18 +0000 (13:17 -0700)
commitec3954577cb080b3ea44f912a91b3c6e90e00c23
tree17e1b633d5ab9d63690f8356fe625e553bd07061
parent48067c530ce21ef7ffa7a97e65cf3fdc45d946a6
(OLED) Added support for CR (#6399)

Currently OLED Dirver only supports LF (\n) character in a string to clear out the rest of the current line and advance to the next line for writing. This PR adds support for CR (\r) character as well to advance to the next line, however not clear out the rest of the current line. This is extremely useful when you want to display a multi-line logo using a single array without wiping out exiting lines and flagging the OLED as dirty unnecessarily.
drivers/oled/oled_driver.c