OLED driver tweaks (#13215)
This commit is contained in:
parent
a9c6adb083
commit
2f08a34394
3 changed files with 22 additions and 24 deletions
|
@ -115,7 +115,7 @@ bool oled_initialized = false;
|
|||
bool oled_active = false;
|
||||
bool oled_scrolling = false;
|
||||
uint8_t oled_brightness = OLED_BRIGHTNESS;
|
||||
uint8_t oled_rotation = 0;
|
||||
oled_rotation_t oled_rotation = 0;
|
||||
uint8_t oled_rotation_width = 0;
|
||||
uint8_t oled_scroll_speed = 0; // this holds the speed after being remapped to ssd1306 internal values
|
||||
uint8_t oled_scroll_start = 0;
|
||||
|
@ -158,7 +158,7 @@ static void InvertCharacter(uint8_t *cursor) {
|
|||
}
|
||||
}
|
||||
|
||||
bool oled_init(uint8_t rotation) {
|
||||
bool oled_init(oled_rotation_t rotation) {
|
||||
#if defined(USE_I2C) && defined(SPLIT_KEYBOARD)
|
||||
if (!is_keyboard_master()) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue