Reducing size of data send in one frame & update Zen rev2 oled usage
This commit is contained in:
parent
0a645225b9
commit
dd3a813f87
9 changed files with 69 additions and 57 deletions
|
@ -181,7 +181,7 @@ void matrix_init_user(void) {
|
|||
// OLED Driver Logic
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
|
||||
uint8_t oled_init_user(uint8_t rotation) {
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
if (!has_usb())
|
||||
return OLED_ROTATION_180; // flip 180 for offhand
|
||||
return rotation;
|
||||
|
|
|
@ -246,7 +246,7 @@ void matrix_init_user(void) {
|
|||
// OLED Driver Logic
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
|
||||
uint8_t oled_init_user(uint8_t rotation) {
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
if (!has_usb())
|
||||
return OLED_ROTATION_180; // flip 180 for offhand
|
||||
return rotation;
|
||||
|
|
|
@ -254,7 +254,7 @@ void matrix_init_user(void) {
|
|||
// OLED Driver Logic
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
|
||||
uint8_t oled_init_user(uint8_t rotation) {
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
if (!has_usb())
|
||||
return OLED_ROTATION_180; // flip 180 for offhand
|
||||
return rotation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue