diff --git a/src/kaleidoscope/device/dygma/Raise.cpp b/src/kaleidoscope/device/dygma/Raise.cpp index eb5e725a..15e4f95e 100644 --- a/src/kaleidoscope/device/dygma/Raise.cpp +++ b/src/kaleidoscope/device/dygma/Raise.cpp @@ -210,8 +210,8 @@ void RaiseLEDDriver::setCrgbAt(uint8_t i, cRGB crgb) { cRGB oldColor = RaiseHands::leftHand.led_data.leds[sled_num]; RaiseHands::leftHand.led_data.leds[sled_num] = crgb; isLEDChangedLeft[uint8_t(sled_num / 8)] |= !(oldColor.r == crgb.r && - oldColor.g == crgb.g && - oldColor.b == crgb.b); + oldColor.g == crgb.g && + oldColor.b == crgb.b); } else if (sled_num < 2 * LEDS_PER_HAND) { cRGB oldColor = RaiseHands::rightHand.led_data.leds[sled_num - LEDS_PER_HAND]; RaiseHands::rightHand.led_data.leds[sled_num - LEDS_PER_HAND] = crgb; diff --git a/src/kaleidoscope/plugin/Colormap.cpp b/src/kaleidoscope/plugin/Colormap.cpp index 157a0d02..5ba8fab2 100644 --- a/src/kaleidoscope/plugin/Colormap.cpp +++ b/src/kaleidoscope/plugin/Colormap.cpp @@ -58,7 +58,7 @@ EventHandlerResult ColormapEffect::onLayerChange() { EventHandlerResult ColormapEffect::onFocusEvent(const char *command) { return ::LEDPaletteTheme.themeFocusEvent(command, PSTR("colormap.map"), - map_base_, max_layers_); + map_base_, max_layers_); } } diff --git a/src/kaleidoscope/plugin/Jukebox.cpp b/src/kaleidoscope/plugin/Jukebox.cpp index dc0f3eb8..1c0faf9f 100644 --- a/src/kaleidoscope/plugin/Jukebox.cpp +++ b/src/kaleidoscope/plugin/Jukebox.cpp @@ -18,9 +18,9 @@ #include kaleidoscope::plugin::TriColor JukeboxEffect(CRGB(0xc8, 0xe8, 0xee), /* TM */ - CRGB(0xc3, 0xee, 0x8c), /* VCO */ - CRGB(0x21, 0x38, 0xd7)); /* RN */ + CRGB(0xc3, 0xee, 0x8c), /* VCO */ + CRGB(0x21, 0x38, 0xd7)); /* RN */ kaleidoscope::plugin::TriColor JukeboxAlternateEffect(CRGB(0xc8, 0xe8, 0xee), /* TM */ - CRGB(0x21, 0x38, 0xd7), /* RN */ - CRGB(0xc3, 0xee, 0x8c)); /* VCO */ + CRGB(0x21, 0x38, 0xd7), /* RN */ + CRGB(0xc3, 0xee, 0x8c)); /* VCO */ diff --git a/src/kaleidoscope/plugin/LED-AlphaSquare/Symbols.h b/src/kaleidoscope/plugin/LED-AlphaSquare/Symbols.h index 5dae40b5..c0a0e829 100644 --- a/src/kaleidoscope/plugin/LED-AlphaSquare/Symbols.h +++ b/src/kaleidoscope/plugin/LED-AlphaSquare/Symbols.h @@ -26,9 +26,9 @@ namespace symbols { /* λ */ static constexpr uint16_t Lambda = SYM4x4(1, 0, 0, 0, - 0, 1, 0, 0, - 0, 1, 1, 0, - 1, 0, 0, 1); + 0, 1, 0, 0, + 0, 1, 1, 0, + 1, 0, 0, 1); } } } diff --git a/src/kaleidoscope/plugin/LED-Palette-Theme.cpp b/src/kaleidoscope/plugin/LED-Palette-Theme.cpp index cbeffb59..51fc7d5d 100644 --- a/src/kaleidoscope/plugin/LED-Palette-Theme.cpp +++ b/src/kaleidoscope/plugin/LED-Palette-Theme.cpp @@ -141,9 +141,9 @@ EventHandlerResult LEDPaletteTheme::onFocusEvent(const char *command) { } EventHandlerResult LEDPaletteTheme::themeFocusEvent(const char *command, - const char *expected_command, - uint16_t theme_base, - uint8_t max_themes) { + const char *expected_command, + uint16_t theme_base, + uint8_t max_themes) { if (!Runtime.has_leds) return EventHandlerResult::OK; diff --git a/src/kaleidoscope/plugin/Miami.cpp b/src/kaleidoscope/plugin/Miami.cpp index c23d63d5..212b1cec 100644 --- a/src/kaleidoscope/plugin/Miami.cpp +++ b/src/kaleidoscope/plugin/Miami.cpp @@ -18,4 +18,4 @@ #include kaleidoscope::plugin::TriColor MiamiEffect(CRGB(0x4e, 0xd6, 0xd6), /* Cyan */ - CRGB(0xaf, 0x67, 0xfa)); /* Magenta */ + CRGB(0xaf, 0x67, 0xfa)); /* Magenta */ diff --git a/src/kaleidoscope/plugin/TapDance.cpp b/src/kaleidoscope/plugin/TapDance.cpp index 3e066e3a..80bf7212 100644 --- a/src/kaleidoscope/plugin/TapDance.cpp +++ b/src/kaleidoscope/plugin/TapDance.cpp @@ -200,7 +200,7 @@ EventHandlerResult TapDance::afterEachCycle() { } __attribute__((weak)) void tapDanceAction(uint8_t tap_dance_index, KeyAddr key_addr, uint8_t tap_count, - kaleidoscope::plugin::TapDance::ActionType tap_dance_action) { + kaleidoscope::plugin::TapDance::ActionType tap_dance_action) { } kaleidoscope::plugin::TapDance TapDance; diff --git a/src/kaleidoscope_internal/LEDModeManager.h b/src/kaleidoscope_internal/LEDModeManager.h index 8568bf0b..28ea5f49 100644 --- a/src/kaleidoscope_internal/LEDModeManager.h +++ b/src/kaleidoscope_internal/LEDModeManager.h @@ -356,7 +356,7 @@ class LEDModeManager { static kaleidoscope::plugin::LEDMode *getLEDMode(uint8_t mode_id); static void retreiveLEDModeFactoryFromPROGMEM(uint8_t mode_id, - LEDModeFactory &fac); + LEDModeFactory &fac); static void setupPersistentLEDModes();