make leds_setup match naming pins_setup

pull/18/head
Jesse Vincent 9 years ago
parent abb9f924db
commit 8961aeb168

@ -13,7 +13,7 @@ static int left_initted = 0;
WS2812 LED(LED_COUNT);
void implementation_setup_leds() {
void implementation_leds_setup() {
LED.setOutput(LED_DATA_PIN);
LED.setColorOrderGRB(); // Uncomment for RGB color order
}

@ -50,7 +50,7 @@ static const uint8_t key_led_map[4][16] = {
};
void implementation_setup_leds();
void implementation_leds_setup();
void implementation_led_set_crgb_at(byte row, byte col, cRGB color);

@ -33,7 +33,7 @@ void setup() {
wdt_disable();
Keyboard.begin();
Mouse.begin();
implementation_setup_leds();
implementation_leds_setup();
LEDs.led_bootup();
implementation_pins_setup();
@ -102,6 +102,7 @@ void handle_key_event(byte row, byte col) {
byte switchState = matrixState[row][col];
Key mappedKey = keymaps[temporary_keymap][row][col];
if (keymaps[primary_keymap][row][col].flags & SWITCH_TO_KEYMAP) {
handle_keymap_key_event(switchState, keymaps[primary_keymap][row][col]);
}

Loading…
Cancel
Save