1
0
Fork 0

Reducing size of data send in one frame & update Zen rev2 oled usage

This commit is contained in:
Ryan Caltabiano 2019-04-16 18:36:55 -05:00 committed by skullydazed
parent 0a645225b9
commit dd3a813f87
9 changed files with 69 additions and 57 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;