diff options
author | Ben V. Brown <[email protected]> | 2023-06-18 14:22:08 +1000 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2023-06-18 14:22:08 +1000 |
commit | 313336b61f074bfe31dcdd10a4a088c731a5091a (patch) | |
tree | cee20db650fd65f7e0cdb9fd7c5424aede17956e /source | |
parent | c55a640d7f4a1930be82835520072cef46246294 (diff) | |
download | IronOS-313336b61f074bfe31dcdd10a4a088c731a5091a.tar.gz IronOS-313336b61f074bfe31dcdd10a4a088c731a5091a.zip |
Swap OLED offset write to reduce glitching
@discip
Diffstat (limited to 'source')
-rw-r--r-- | source/Core/Drivers/OLED.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/Drivers/OLED.cpp b/source/Core/Drivers/OLED.cpp index 92d3e40f..a43754aa 100644 --- a/source/Core/Drivers/OLED.cpp +++ b/source/Core/Drivers/OLED.cpp @@ -348,8 +348,8 @@ void OLED::transitionScrollDown() { screenBuffer[15] = (pageStart + 1) % 8; uint8_t scrollCommandByte = 0b01000000; OLED_Setup_Array[8].val = scrollCommandByte; - I2C_CLASS::I2C_RegisterWrite(DEVICEADDR_OLED, 0x80, scrollCommandByte); refresh(); + I2C_CLASS::I2C_RegisterWrite(DEVICEADDR_OLED, 0x80, scrollCommandByte); } void OLED::setRotation(bool leftHanded) { |