diff options
author | npoirey <nicolas.poirey@gmail.com> | 2017-06-23 21:35:33 +0200 |
---|---|---|
committer | npoirey <nicolas.poirey@gmail.com> | 2017-06-23 21:35:33 +0200 |
commit | a3f151b8e9dc93850fa6eba45d55f35f309b848f (patch) | |
tree | 24d447c54f73dd3f40eed157439582e651391bd2 /keyboards/handwired/frenchdev/keymaps | |
parent | de80e2c756508fbd14562ece23b0cbdfbb959e1f (diff) |
Refactoring frenchdev
Diffstat (limited to 'keyboards/handwired/frenchdev/keymaps')
-rw-r--r-- | keyboards/handwired/frenchdev/keymaps/default/keymap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/handwired/frenchdev/keymaps/default/keymap.c b/keyboards/handwired/frenchdev/keymaps/default/keymap.c index 74b20cb0f7..e6d72d0131 100644 --- a/keyboards/handwired/frenchdev/keymaps/default/keymap.c +++ b/keyboards/handwired/frenchdev/keymaps/default/keymap.c @@ -374,18 +374,18 @@ uint8_t old_layer=_BASE; void matrix_scan_user(void) { uint8_t layer = biton32(layer_state); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); + frenchdev_led_1_off(); + frenchdev_led_2_off(); switch (layer) { case _BASE: - ergodox_right_led_2_on(); + frenchdev_led_2_on(); break; case _SYMBOLS: - ergodox_right_led_1_on(); + frenchdev_led_1_on(); break; case _MEDIA: - ergodox_right_led_1_on(); - ergodox_right_led_2_on(); + frenchdev_led_1_on(); + frenchdev_led_2_on(); default: // none break; @@ -399,9 +399,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { void led_set_user(uint8_t usb_led) { if (usb_led & (1<<USB_LED_CAPS_LOCK)){ - ergodox_right_led_3_on(); + frenchdev_led_3_on(); } else { - ergodox_right_led_3_off(); + frenchdev_led_3_off(); } return ; } |