From 3d09ab7c81c171bbda25f573f74a37726bfe4de0 Mon Sep 17 00:00:00 2001 From: Evy Bongers Date: Mon, 19 Feb 2024 20:51:44 +0100 Subject: [PATCH] Clean up unused imports --- .../Kaleidoscope-Heatmap/src/kaleidoscope/plugin/Heatmap.cpp | 1 - .../src/kaleidoscope/plugin/LED-ActiveLayerColor.cpp | 1 - .../src/kaleidoscope/plugin/LED-ActiveLayerKeys.cpp | 1 - .../src/kaleidoscope/plugin/LED-AlphaSquare/Effect.cpp | 1 - .../src/kaleidoscope/plugin/LED-Stalker.cpp | 1 - .../src/kaleidoscope/plugin/LED-Wavepool.cpp | 1 - .../src/kaleidoscope/plugin/LEDEffect-Breathe.cpp | 2 -- .../src/kaleidoscope/plugin/LEDEffect-Chase.cpp | 1 - .../src/kaleidoscope/plugin/LEDEffect-Rainbow.cpp | 1 - .../src/kaleidoscope/plugin/LEDEffect-SolidColor.cpp | 2 -- .../src/kaleidoscope/plugin/LEDEffect-SolidColor.h | 1 - .../src/kaleidoscope/plugin/TriColor.cpp | 2 -- src/kaleidoscope/plugin/LEDControl/LED-Off.cpp | 2 -- src/kaleidoscope/plugin/LEDControl/LED-Off.h | 1 - 14 files changed, 18 deletions(-) diff --git a/plugins/Kaleidoscope-Heatmap/src/kaleidoscope/plugin/Heatmap.cpp b/plugins/Kaleidoscope-Heatmap/src/kaleidoscope/plugin/Heatmap.cpp index 2801dae719..71cbd6ba9a 100644 --- a/plugins/Kaleidoscope-Heatmap/src/kaleidoscope/plugin/Heatmap.cpp +++ b/plugins/Kaleidoscope-Heatmap/src/kaleidoscope/plugin/Heatmap.cpp @@ -18,7 +18,6 @@ #include "kaleidoscope/plugin/Heatmap.h" #include // for pgm_read_byte, PROGMEM -#include // for Focus #include // for uint16_t, uint8_t, INT16_MAX #include "kaleidoscope/KeyAddr.h" // for MatrixAddr, MatrixAddr<>::Range, KeyAddr diff --git a/plugins/Kaleidoscope-LED-ActiveLayerColor/src/kaleidoscope/plugin/LED-ActiveLayerColor.cpp b/plugins/Kaleidoscope-LED-ActiveLayerColor/src/kaleidoscope/plugin/LED-ActiveLayerColor.cpp index a115bd795c..68c9ef599b 100644 --- a/plugins/Kaleidoscope-LED-ActiveLayerColor/src/kaleidoscope/plugin/LED-ActiveLayerColor.cpp +++ b/plugins/Kaleidoscope-LED-ActiveLayerColor/src/kaleidoscope/plugin/LED-ActiveLayerColor.cpp @@ -18,7 +18,6 @@ #include "kaleidoscope/plugin/LED-ActiveLayerColor.h" #include // for pgm_read_byte -#include // for Focus #include // for uint8_t #include "kaleidoscope/KeyAddr.h" // for KeyAddr diff --git a/plugins/Kaleidoscope-LED-ActiveLayerKeys/src/kaleidoscope/plugin/LED-ActiveLayerKeys.cpp b/plugins/Kaleidoscope-LED-ActiveLayerKeys/src/kaleidoscope/plugin/LED-ActiveLayerKeys.cpp index 6b1d3e6932..222fdfc17a 100644 --- a/plugins/Kaleidoscope-LED-ActiveLayerKeys/src/kaleidoscope/plugin/LED-ActiveLayerKeys.cpp +++ b/plugins/Kaleidoscope-LED-ActiveLayerKeys/src/kaleidoscope/plugin/LED-ActiveLayerKeys.cpp @@ -25,7 +25,6 @@ #include "kaleidoscope/event_handler_result.h" // for EventHandlerResult, EventHandlerResult::OK #include "kaleidoscope/layers.h" // for Layer #include "kaleidoscope/plugin/LEDControl.h" // for LEDControl -#include "kaleidoscope/plugin/FocusSerial.h" // for Focus namespace kaleidoscope { namespace plugin { diff --git a/plugins/Kaleidoscope-LED-AlphaSquare/src/kaleidoscope/plugin/LED-AlphaSquare/Effect.cpp b/plugins/Kaleidoscope-LED-AlphaSquare/src/kaleidoscope/plugin/LED-AlphaSquare/Effect.cpp index 98bf07565e..8d495bf271 100644 --- a/plugins/Kaleidoscope-LED-AlphaSquare/src/kaleidoscope/plugin/LED-AlphaSquare/Effect.cpp +++ b/plugins/Kaleidoscope-LED-AlphaSquare/src/kaleidoscope/plugin/LED-AlphaSquare/Effect.cpp @@ -17,7 +17,6 @@ #include "kaleidoscope/plugin/LED-AlphaSquare/Effect.h" -#include // for Focus #include // for uint16_t, uint8_t #include "kaleidoscope/KeyAddr.h" // for KeyAddr diff --git a/plugins/Kaleidoscope-LED-Stalker/src/kaleidoscope/plugin/LED-Stalker.cpp b/plugins/Kaleidoscope-LED-Stalker/src/kaleidoscope/plugin/LED-Stalker.cpp index 76a98389a0..cd4147db40 100644 --- a/plugins/Kaleidoscope-LED-Stalker/src/kaleidoscope/plugin/LED-Stalker.cpp +++ b/plugins/Kaleidoscope-LED-Stalker/src/kaleidoscope/plugin/LED-Stalker.cpp @@ -18,7 +18,6 @@ #include "kaleidoscope/plugin/LED-Stalker.h" #include // for min -#include // for Focus #include // for uint8_t, uint16_t, uint32_t #include "kaleidoscope/KeyAddr.h" // for MatrixAddr, KeyAddr, MatrixAddr<>::... diff --git a/plugins/Kaleidoscope-LED-Wavepool/src/kaleidoscope/plugin/LED-Wavepool.cpp b/plugins/Kaleidoscope-LED-Wavepool/src/kaleidoscope/plugin/LED-Wavepool.cpp index 3907e1bb45..eb106a80a9 100644 --- a/plugins/Kaleidoscope-LED-Wavepool/src/kaleidoscope/plugin/LED-Wavepool.cpp +++ b/plugins/Kaleidoscope-LED-Wavepool/src/kaleidoscope/plugin/LED-Wavepool.cpp @@ -21,7 +21,6 @@ #include "kaleidoscope/plugin/LED-Wavepool.h" #include // for pgm_read_byte, PROGMEM, abs -#include // for Focus #include // for int8_t, uint8_t, int16_t, intptr_t #include "kaleidoscope/KeyAddr.h" // for MatrixAddr, KeyAddr, MatrixAddr<>::... diff --git a/plugins/Kaleidoscope-LEDEffect-Breathe/src/kaleidoscope/plugin/LEDEffect-Breathe.cpp b/plugins/Kaleidoscope-LEDEffect-Breathe/src/kaleidoscope/plugin/LEDEffect-Breathe.cpp index 4b2763ec32..83d83829b9 100644 --- a/plugins/Kaleidoscope-LEDEffect-Breathe/src/kaleidoscope/plugin/LEDEffect-Breathe.cpp +++ b/plugins/Kaleidoscope-LEDEffect-Breathe/src/kaleidoscope/plugin/LEDEffect-Breathe.cpp @@ -16,7 +16,6 @@ #include "kaleidoscope/plugin/LEDEffect-Breathe.h" -#include // for Focus #include // for uint8_t #include "kaleidoscope/Runtime.h" // for Runtime, Runtime_ @@ -26,7 +25,6 @@ namespace kaleidoscope { namespace plugin { - void LEDBreatheEffect::TransientLEDMode::update() { if (!Runtime.has_leds) return; diff --git a/plugins/Kaleidoscope-LEDEffect-Chase/src/kaleidoscope/plugin/LEDEffect-Chase.cpp b/plugins/Kaleidoscope-LEDEffect-Chase/src/kaleidoscope/plugin/LEDEffect-Chase.cpp index 6983544680..d06bc7e4c6 100644 --- a/plugins/Kaleidoscope-LEDEffect-Chase/src/kaleidoscope/plugin/LEDEffect-Chase.cpp +++ b/plugins/Kaleidoscope-LEDEffect-Chase/src/kaleidoscope/plugin/LEDEffect-Chase.cpp @@ -16,7 +16,6 @@ #include "kaleidoscope/plugin/LEDEffect-Chase.h" -#include // for Focus #include // for uint16_t, uint8_t #include "kaleidoscope/Runtime.h" // for Runtime, Runtime_ diff --git a/plugins/Kaleidoscope-LEDEffect-Rainbow/src/kaleidoscope/plugin/LEDEffect-Rainbow.cpp b/plugins/Kaleidoscope-LEDEffect-Rainbow/src/kaleidoscope/plugin/LEDEffect-Rainbow.cpp index 687d9905da..16c138b433 100644 --- a/plugins/Kaleidoscope-LEDEffect-Rainbow/src/kaleidoscope/plugin/LEDEffect-Rainbow.cpp +++ b/plugins/Kaleidoscope-LEDEffect-Rainbow/src/kaleidoscope/plugin/LEDEffect-Rainbow.cpp @@ -17,7 +17,6 @@ #include "kaleidoscope/plugin/LEDEffect-Rainbow.h" #include // for byte -#include // for Focus #include // for uint8_t, uint16_t #include "kaleidoscope/Runtime.h" // for Runtime, Runtime_ diff --git a/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.cpp b/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.cpp index dcc0488846..7107bfcd57 100644 --- a/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.cpp +++ b/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.cpp @@ -16,8 +16,6 @@ #include "kaleidoscope/plugin/LEDEffect-SolidColor.h" -#include // for Focus - #include "kaleidoscope/KeyAddr.h" // for KeyAddr #include "kaleidoscope/device/device.h" // for CRGB #include "kaleidoscope/plugin/LEDControl.h" // for LEDControl diff --git a/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.h b/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.h index 1805e484ec..840eeb68b7 100644 --- a/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.h +++ b/plugins/Kaleidoscope-LEDEffect-SolidColor/src/kaleidoscope/plugin/LEDEffect-SolidColor.h @@ -17,7 +17,6 @@ #pragma once #include // for uint8_t -#include // for strlen #include "kaleidoscope/KeyAddr.h" // for KeyAddr #include "kaleidoscope/plugin.h" // for Plugin diff --git a/plugins/Kaleidoscope-LEDEffects/src/kaleidoscope/plugin/TriColor.cpp b/plugins/Kaleidoscope-LEDEffects/src/kaleidoscope/plugin/TriColor.cpp index e5ad2248ca..324361bf8c 100644 --- a/plugins/Kaleidoscope-LEDEffects/src/kaleidoscope/plugin/TriColor.cpp +++ b/plugins/Kaleidoscope-LEDEffects/src/kaleidoscope/plugin/TriColor.cpp @@ -17,8 +17,6 @@ #include "kaleidoscope/plugin/TriColor.h" -#include // for Focus - #include "kaleidoscope/KeyAddr.h" // for KeyAddr, MatrixAddr, MatrixAddr<>::Range #include "kaleidoscope/device/device.h" // for cRGB #include "kaleidoscope/key_defs.h" // for Key, Key_0, Key_A, Key_Escape, Key_F1, Key_F12 diff --git a/src/kaleidoscope/plugin/LEDControl/LED-Off.cpp b/src/kaleidoscope/plugin/LEDControl/LED-Off.cpp index 48f2aec53f..a493b96df9 100644 --- a/src/kaleidoscope/plugin/LEDControl/LED-Off.cpp +++ b/src/kaleidoscope/plugin/LEDControl/LED-Off.cpp @@ -16,9 +16,7 @@ #include "kaleidoscope/plugin/LEDControl/LED-Off.h" -#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult, EventHandlerResult::OK #include "kaleidoscope/plugin/LEDControl.h" // for LEDControl -#include "kaleidoscope/plugin/FocusSerial.h" // for Focus namespace kaleidoscope { namespace plugin { diff --git a/src/kaleidoscope/plugin/LEDControl/LED-Off.h b/src/kaleidoscope/plugin/LEDControl/LED-Off.h index 818af35b10..2c094ae5de 100644 --- a/src/kaleidoscope/plugin/LEDControl/LED-Off.h +++ b/src/kaleidoscope/plugin/LEDControl/LED-Off.h @@ -17,7 +17,6 @@ #pragma once #include "kaleidoscope/KeyAddr.h" // for KeyAddr -#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult #include "kaleidoscope/plugin/LEDMode.h" // for LEDMode namespace kaleidoscope {