remove a layer of indirection

..that I may want to add back later
pull/18/head
Jesse Vincent 9 years ago
parent 9e1670757e
commit 02798e4b1c

@ -81,7 +81,7 @@ void setup() {
//usbMaxPower = 100; //usbMaxPower = 100;
Keyboard.begin(); Keyboard.begin();
Mouse.begin(); Mouse.begin();
setup_leds(); implementation_setup_leds();
led_bootup(); led_bootup();
implementation_pins_setup(); implementation_pins_setup();

@ -32,10 +32,6 @@ static uint8_t chase_threshold = 6;
static uint8_t current_chase_counter = 0; static uint8_t current_chase_counter = 0;
// End RGB stuff // End RGB stuff
void setup_leds() {
implementation_setup_leds();
}
void set_key_color(byte row, byte col, cRGB color) { void set_key_color(byte row, byte col, cRGB color) {
implementation_led_set_crgb_at(row, col, color); implementation_led_set_crgb_at(row, col, color);

@ -15,7 +15,6 @@
#define LED_SPECIAL_MODE_NUMLOCK 100 #define LED_SPECIAL_MODE_NUMLOCK 100
void setup_leds();
void update_leds(uint8_t numlock_enabled); void update_leds(uint8_t numlock_enabled);
void set_all_leds_to(cRGB color); void set_all_leds_to(cRGB color);

Loading…
Cancel
Save