aboutsummaryrefslogtreecommitdiff
path: root/drivers/oled/oled_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oled/oled_driver.c')
-rw-r--r--drivers/oled/oled_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oled/oled_driver.c b/drivers/oled/oled_driver.c
index 53bdc196d..8e5ed5f07 100644
--- a/drivers/oled/oled_driver.c
+++ b/drivers/oled/oled_driver.c
@@ -115,7 +115,7 @@ bool oled_initialized = false;
115bool oled_active = false; 115bool oled_active = false;
116bool oled_scrolling = false; 116bool oled_scrolling = false;
117uint8_t oled_brightness = OLED_BRIGHTNESS; 117uint8_t oled_brightness = OLED_BRIGHTNESS;
118uint8_t oled_rotation = 0; 118oled_rotation_t oled_rotation = 0;
119uint8_t oled_rotation_width = 0; 119uint8_t oled_rotation_width = 0;
120uint8_t oled_scroll_speed = 0; // this holds the speed after being remapped to ssd1306 internal values 120uint8_t oled_scroll_speed = 0; // this holds the speed after being remapped to ssd1306 internal values
121uint8_t oled_scroll_start = 0; 121uint8_t oled_scroll_start = 0;
@@ -158,7 +158,7 @@ static void InvertCharacter(uint8_t *cursor) {
158 } 158 }
159} 159}
160 160
161bool oled_init(uint8_t rotation) { 161bool oled_init(oled_rotation_t rotation) {
162#if defined(USE_I2C) && defined(SPLIT_KEYBOARD) 162#if defined(USE_I2C) && defined(SPLIT_KEYBOARD)
163 if (!is_keyboard_master()) { 163 if (!is_keyboard_master()) {
164 return true; 164 return true;