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/389/head
Jesse Vincent 7 years ago
parent df3e79a56a
commit 8c35edcfb5
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -106,7 +106,7 @@ Heatmap::update(void) {
for (uint8_t c = 0; c < COLS; c++) { for (uint8_t c = 0; c < COLS; c++) {
uint8_t cap = max(total_keys_, 1); uint8_t cap = max(total_keys_, 1);
float v = static_cast<float>(heatmap_[r][c]) / cap; float v = static_cast<float>(heatmap_[r][c]) / cap;
LEDControl.led_set_crgb_at(r, c, computeColor(v)); LEDControl.setCrgbAt(r, c, computeColor(v));
} }
} }
} }

Loading…
Cancel
Save