summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/frenchdev/frenchdev.c
diff options
context:
space:
mode:
authornpoirey <nicolas.poirey@gmail.com>2017-06-23 21:35:33 +0200
committernpoirey <nicolas.poirey@gmail.com>2017-06-23 21:35:33 +0200
commita3f151b8e9dc93850fa6eba45d55f35f309b848f (patch)
tree24d447c54f73dd3f40eed157439582e651391bd2 /keyboards/handwired/frenchdev/frenchdev.c
parentde80e2c756508fbd14562ece23b0cbdfbb959e1f (diff)
Refactoring frenchdev
Diffstat (limited to 'keyboards/handwired/frenchdev/frenchdev.c')
-rw-r--r--keyboards/handwired/frenchdev/frenchdev.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/keyboards/handwired/frenchdev/frenchdev.c b/keyboards/handwired/frenchdev/frenchdev.c
index 101fe92e0b..6d5883a3a8 100644
--- a/keyboards/handwired/frenchdev/frenchdev.c
+++ b/keyboards/handwired/frenchdev/frenchdev.c
@@ -18,29 +18,30 @@ void matrix_init_kb(void) {
PORTD |= (1<<5 | 1<<4);
PORTE |= (1<<6);
- ergodox_blink_all_leds();
+ frenchdev_blink_all_leds();
+ frenchdev_blink_all_leds();
+ frenchdev_blink_all_leds();
+ frenchdev_blink_all_leds();
matrix_init_user();
}
-void ergodox_blink_all_leds(void)
+void frenchdev_blink_all_leds(void)
{
- ergodox_led_all_off();
- ergodox_led_all_set(LED_BRIGHTNESS_HI);
- ergodox_right_led_1_on();
+ frenchdev_led_all_off();
+ frenchdev_led_all_set(LED_BRIGHTNESS_HI);
+ frenchdev_led_1_on();
_delay_ms(50);
- ergodox_right_led_2_on();
+ frenchdev_led_2_on();
_delay_ms(50);
- ergodox_right_led_3_on();
+ frenchdev_led_3_on();
_delay_ms(50);
- ergodox_right_led_1_off();
+ frenchdev_led_1_off();
_delay_ms(50);
- ergodox_right_led_2_off();
+ frenchdev_led_2_off();
_delay_ms(50);
- ergodox_right_led_3_off();
- //ergodox_led_all_on();
- //_delay_ms(333);
- ergodox_led_all_off();
+ frenchdev_led_3_off();
+ frenchdev_led_all_off();
}
uint8_t init_mcp23018(void) {