Skip to content

Commit

Permalink
Clean up unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Evy Bongers <[email protected]>
  • Loading branch information
EvyBongers committed Feb 19, 2024
1 parent 4ba1f0d commit 8621191
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

#include "kaleidoscope/plugin/Heatmap.h"

#include <Arduino.h> // for pgm_read_byte, PROGMEM
#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint16_t, uint8_t, INT16_MAX
#include <Arduino.h> // for pgm_read_byte, PROGMEM
#include <stdint.h> // for uint16_t, uint8_t, INT16_MAX

#include "kaleidoscope/KeyAddr.h" // for MatrixAddr, MatrixAddr<>::Range, KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

#include "kaleidoscope/plugin/LED-ActiveLayerColor.h"

#include <Arduino.h> // for pgm_read_byte
#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint8_t
#include <Arduino.h> // for pgm_read_byte
#include <stdint.h> // for uint8_t

#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

#include "kaleidoscope/plugin/LED-AlphaSquare/Effect.h"

#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint16_t, uint8_t
#include <stdint.h> // for uint16_t, uint8_t

#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

#include "kaleidoscope/plugin/LED-Stalker.h"

#include <Arduino.h> // for min
#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint8_t, uint16_t, uint32_t
#include <Arduino.h> // for min
#include <stdint.h> // for uint8_t, uint16_t, uint32_t

#include "kaleidoscope/KeyAddr.h" // for MatrixAddr, KeyAddr, MatrixAddr<>::...
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@

#include "kaleidoscope/plugin/LED-Wavepool.h"

#include <Arduino.h> // for pgm_read_byte, PROGMEM, abs
#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for int8_t, uint8_t, int16_t, intptr_t
#include <Arduino.h> // for pgm_read_byte, PROGMEM, abs
#include <stdint.h> // for int8_t, uint8_t, int16_t, intptr_t

#include "kaleidoscope/KeyAddr.h" // for MatrixAddr, KeyAddr, MatrixAddr<>::...
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

#include "kaleidoscope/plugin/LEDEffect-Breathe.h"

#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint8_t
#include <stdint.h> // for uint8_t

#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for cRGB
Expand All @@ -26,7 +25,6 @@

namespace kaleidoscope {
namespace plugin {

void LEDBreatheEffect::TransientLEDMode::update() {
if (!Runtime.has_leds)
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

#include "kaleidoscope/plugin/LEDEffect-Chase.h"

#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint16_t, uint8_t
#include <stdint.h> // for uint16_t, uint8_t

#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for CRGB, Device, Base<>::LEDRangeIterator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

#include "kaleidoscope/plugin/LEDEffect-Rainbow.h"

#include <Arduino.h> // for byte
#include <Kaleidoscope-FocusSerial.h> // for Focus
#include <stdint.h> // for uint8_t, uint16_t
#include <Arduino.h> // for byte
#include <stdint.h> // for uint8_t, uint16_t

#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for Base<>::LEDRangeIterator, Base<>::L...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include "kaleidoscope/plugin/LEDEffect-SolidColor.h"

#include <Kaleidoscope-FocusSerial.h> // for Focus

#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/device/device.h" // for CRGB
#include "kaleidoscope/plugin/LEDControl.h" // for LEDControl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#pragma once

#include <stdint.h> // for uint8_t
#include <string.h> // for strlen

#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/plugin.h" // for Plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "kaleidoscope/plugin/TriColor.h"

#include <Kaleidoscope-FocusSerial.h> // 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
Expand Down
4 changes: 1 addition & 3 deletions src/kaleidoscope/plugin/LEDControl/LED-Off.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
#include "kaleidoscope/plugin/LEDControl.h" // for LEDControl

namespace kaleidoscope {
namespace plugin {
Expand Down
5 changes: 2 additions & 3 deletions src/kaleidoscope/plugin/LEDControl/LED-Off.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

#pragma once

#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin/LEDMode.h" // for LEDMode
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/plugin/LEDMode.h" // for LEDMode

namespace kaleidoscope {
namespace plugin {
Expand Down

0 comments on commit 8621191

Please sign in to comment.