From 5e1ce3988d81b5c60a6224664d45c67ac2ad7cd9 Mon Sep 17 00:00:00 2001 From: zvecr Date: Sat, 7 Mar 2020 00:38:14 +0000 Subject: Remove unused LED_BREATHING_TABLE --- common_features.mk | 6 ------ quantum/led_tables.c | 21 --------------------- quantum/led_tables.h | 4 ---- show_options.mk | 1 - 4 files changed, 32 deletions(-) diff --git a/common_features.mk b/common_features.mk index f7e4c3286..36cae7865 100644 --- a/common_features.mk +++ b/common_features.mk @@ -159,7 +159,6 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) SRC += $(QUANTUM_DIR)/color.c SRC += $(QUANTUM_DIR)/rgblight.c CIE1931_CURVE := yes - LED_BREATHING_TABLE := yes RGB_KEYCODES_ENABLE := yes ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes) OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER @@ -351,11 +350,6 @@ ifeq ($(strip $(CIE1931_CURVE)), yes) LED_TABLES := yes endif -ifeq ($(strip $(LED_BREATHING_TABLE)), yes) - OPT_DEFS += -DUSE_LED_BREATHING_TABLE - LED_TABLES := yes -endif - ifeq ($(strip $(LED_TABLES)), yes) SRC += $(QUANTUM_DIR)/led_tables.c endif diff --git a/quantum/led_tables.c b/quantum/led_tables.c index 6eb2c09dc..9fbe642cc 100644 --- a/quantum/led_tables.c +++ b/quantum/led_tables.c @@ -40,25 +40,4 @@ const uint8_t CIE1931_CURVE[256] PROGMEM = { }; #endif -#ifdef USE_LED_BREATHING_TABLE -const uint8_t LED_BREATHING_TABLE[256] PROGMEM = { - 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 4, 5, 5, 6, 7, 9, - 10, 11, 12, 14, 15, 17, 18, 20, 21, 23, 25, 27, 29, 31, 33, 35, - 37, 40, 42, 44, 47, 49, 52, 54, 57, 59, 62, 65, 67, 70, 73, 76, - 79, 82, 85, 88, 90, 93, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, - 127, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 162, 165, 167, 170, 173, - 176, 179, 182, 185, 188, 190, 193, 196, 198, 201, 203, 206, 208, 211, 213, 215, - 218, 220, 222, 224, 226, 228, 230, 232, 234, 235, 237, 238, 240, 241, 243, 244, - 245, 246, 248, 249, 250, 250, 251, 252, 253, 253, 254, 254, 254, 255, 255, 255, - 255, 255, 255, 255, 254, 254, 254, 253, 253, 252, 251, 250, 250, 249, 248, 246, - 245, 244, 243, 241, 240, 238, 237, 235, 234, 232, 230, 228, 226, 224, 222, 220, - 218, 215, 213, 211, 208, 206, 203, 201, 198, 196, 193, 190, 188, 185, 182, 179, - 176, 173, 170, 167, 165, 162, 158, 155, 152, 149, 146, 143, 140, 137, 134, 131, - 128, 124, 121, 118, 115, 112, 109, 106, 103, 100, 97, 93, 90, 88, 85, 82, - 79, 76, 73, 70, 67, 65, 62, 59, 57, 54, 52, 49, 47, 44, 42, 40, - 37, 35, 33, 31, 29, 27, 25, 23, 21, 20, 18, 17, 15, 14, 12, 11, - 10, 9, 7, 6, 5, 5, 4, 3, 2, 2, 1, 1, 1, 0, 0, 0 -}; -#endif - // clang-format on diff --git a/quantum/led_tables.h b/quantum/led_tables.h index af49bf332..8052d566c 100644 --- a/quantum/led_tables.h +++ b/quantum/led_tables.h @@ -23,8 +23,4 @@ along with this program. If not, see . extern const uint8_t CIE1931_CURVE[] PROGMEM; #endif -#ifdef USE_LED_BREATHING_TABLE -extern const uint8_t LED_BREATHING_TABLE[] PROGMEM; -#endif - #endif diff --git a/show_options.mk b/show_options.mk index 63823adc7..3f3243fbd 100644 --- a/show_options.mk +++ b/show_options.mk @@ -29,7 +29,6 @@ HARDWARE_OPTION_NAMES = \ HD44780_ENABLE \ ENCODER_ENABLE \ LCD_ENABLE \ - LED_BREATHING_TABLE \ LED_TABLES \ POINTING_DEVICE_ENABLE \ VISUALIZER_ENABLE \ -- cgit v1.2.3-70-g09d2