CamelCaseifcation of LED related functions

s/led_set_crgb_at/setCrgbAt/
s/hsv_to_rgb/hsvToRgb/
s/led_get_crgb_at/getCrgbAt/
s/led_sync/syncLeds/
s/get_led_index/getLedIndex/
s/send_led_data/sendLedData/
s/led_power_fault/ledPowerFault/
pull/365/head
Jesse Vincent 7 years ago
parent 08501e59e0
commit 769470fbd6
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -48,7 +48,7 @@ const macro_t *macroAction(uint8_t macro_index, uint8_t key_state) {
if (macro_index == 0) {
for (uint8_t i = Key_A.keyCode; i <= Key_0.keyCode; i++) {
LEDControl.set_all_leds_to(0, 0, 0);
LEDControl.led_sync();
LEDControl.syncLeds();
delay(100);
uint8_t col = 2;
@ -69,7 +69,7 @@ const macro_t *macroAction(uint8_t macro_index, uint8_t key_state) {
}
LEDControl.set_all_leds_to(0, 0, 0);
LEDControl.led_sync();
LEDControl.syncLeds();
delay(100);
for (uint8_t step = 0; step <= 0xf0; step += 8) {

@ -90,11 +90,11 @@ void AlphaSquare::display(uint16_t symbol, uint8_t row, uint8_t col, cRGB key_co
if (!pixel)
continue;
LEDControl.led_set_crgb_at(row + r, col + c, key_color);
LEDControl.setCrgbAt(row + r, col + c, key_color);
}
}
LEDControl.led_sync();
LEDControl.syncLeds();
}
void AlphaSquare::display(uint16_t symbol, uint8_t row, uint8_t col) {

Loading…
Cancel
Save