1
0
Fork 0
forked from forks/qmk_firmware

Apply suggestions from code review

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Josef Adamčík 2020-05-18 12:56:08 +02:00 committed by GitHub
parent 2651edc243
commit f6cec668c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -4,6 +4,5 @@
see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness
for more options.
*/
#define MASTER_LEFT
#define TAPPING_FORCE_HOLD

View file

@ -166,7 +166,7 @@ static void print_status_narrow(void) {
oled_write_ln_P(PSTR("Clmk"), false);
break;
default:
oled_write_P(PSTR("Undefined\n"), false);
oled_write_P(PSTR("Undef"), false);
}
oled_write_P(PSTR("\n\n"), false);
// Print current layer
@ -189,8 +189,8 @@ static void print_status_narrow(void) {
oled_write_ln_P(PSTR("Undef"), false);
}
oled_write_P(PSTR("\n\n"), false);
uint8_t led_usb_state = host_keyboard_leds();
oled_write_ln_P(led_usb_state & (1 << USB_LED_CAPS_LOCK) ? PSTR("CPSLK") : PSTR(" "), false);
led_t led_usb_state = host_keyboard_led_state()();
oled_write_ln_P(PSTR("CPSLK"), led_usb_state.caps_lock);
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) {