aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/Core/Drivers
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2023-06-28 19:13:03 +1000
committerBen V. Brown <[email protected]>2023-06-28 19:13:03 +1000
commit159555f299981293e05479157d2d788884ace90d (patch)
treeb5453fdedcdf27f39bc319c27acaf93a0a4ca28f /source/Core/Drivers
parent5d04df39e0aab47334486cc72be5c5c88ecdb259 (diff)
downloadIronOS-159555f299981293e05479157d2d788884ace90d.tar.gz
IronOS-159555f299981293e05479157d2d788884ace90d.zip
Update OLED.cpp
Diffstat (limited to 'source/Core/Drivers')
-rw-r--r--source/Core/Drivers/OLED.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/Drivers/OLED.cpp b/source/Core/Drivers/OLED.cpp
index 90dcc4d5..295a249e 100644
--- a/source/Core/Drivers/OLED.cpp
+++ b/source/Core/Drivers/OLED.cpp
@@ -90,7 +90,7 @@ const uint8_t REFRESH_COMMANDS[17] = {
0x80,
0x00, // A
0x80,
- (OLED_HEIGHT / 8), // B
+ (OLED_HEIGHT / 8) - 1, // B
// Start of data
0x40,