diff options
author | zvecr <git@zvecr.com> | 2020-03-07 00:38:14 +0000 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-03-06 22:29:01 -0800 |
commit | 5e1ce3988d81b5c60a6224664d45c67ac2ad7cd9 (patch) | |
tree | ecab7279c34ed62219aa443f9dd814cb30b80810 | |
parent | dd05007f3be17f380c5615a83af7de9db26b58d3 (diff) | |
download | qmk_firmware-5e1ce3988d81b5c60a6224664d45c67ac2ad7cd9.tar.gz qmk_firmware-5e1ce3988d81b5c60a6224664d45c67ac2ad7cd9.zip |
Remove unused LED_BREATHING_TABLE
-rw-r--r-- | common_features.mk | 6 | ||||
-rw-r--r-- | quantum/led_tables.c | 21 | ||||
-rw-r--r-- | quantum/led_tables.h | 4 | ||||
-rw-r--r-- | show_options.mk | 1 |
4 files changed, 0 insertions, 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) | |||
159 | SRC += $(QUANTUM_DIR)/color.c | 159 | SRC += $(QUANTUM_DIR)/color.c |
160 | SRC += $(QUANTUM_DIR)/rgblight.c | 160 | SRC += $(QUANTUM_DIR)/rgblight.c |
161 | CIE1931_CURVE := yes | 161 | CIE1931_CURVE := yes |
162 | LED_BREATHING_TABLE := yes | ||
163 | RGB_KEYCODES_ENABLE := yes | 162 | RGB_KEYCODES_ENABLE := yes |
164 | ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes) | 163 | ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes) |
165 | OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER | 164 | OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER |
@@ -351,11 +350,6 @@ ifeq ($(strip $(CIE1931_CURVE)), yes) | |||
351 | LED_TABLES := yes | 350 | LED_TABLES := yes |
352 | endif | 351 | endif |
353 | 352 | ||
354 | ifeq ($(strip $(LED_BREATHING_TABLE)), yes) | ||
355 | OPT_DEFS += -DUSE_LED_BREATHING_TABLE | ||
356 | LED_TABLES := yes | ||
357 | endif | ||
358 | |||
359 | ifeq ($(strip $(LED_TABLES)), yes) | 353 | ifeq ($(strip $(LED_TABLES)), yes) |
360 | SRC += $(QUANTUM_DIR)/led_tables.c | 354 | SRC += $(QUANTUM_DIR)/led_tables.c |
361 | endif | 355 | 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 = { | |||
40 | }; | 40 | }; |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #ifdef USE_LED_BREATHING_TABLE | ||
44 | const uint8_t LED_BREATHING_TABLE[256] PROGMEM = { | ||
45 | 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 4, 5, 5, 6, 7, 9, | ||
46 | 10, 11, 12, 14, 15, 17, 18, 20, 21, 23, 25, 27, 29, 31, 33, 35, | ||
47 | 37, 40, 42, 44, 47, 49, 52, 54, 57, 59, 62, 65, 67, 70, 73, 76, | ||
48 | 79, 82, 85, 88, 90, 93, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, | ||
49 | 127, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 162, 165, 167, 170, 173, | ||
50 | 176, 179, 182, 185, 188, 190, 193, 196, 198, 201, 203, 206, 208, 211, 213, 215, | ||
51 | 218, 220, 222, 224, 226, 228, 230, 232, 234, 235, 237, 238, 240, 241, 243, 244, | ||
52 | 245, 246, 248, 249, 250, 250, 251, 252, 253, 253, 254, 254, 254, 255, 255, 255, | ||
53 | 255, 255, 255, 255, 254, 254, 254, 253, 253, 252, 251, 250, 250, 249, 248, 246, | ||
54 | 245, 244, 243, 241, 240, 238, 237, 235, 234, 232, 230, 228, 226, 224, 222, 220, | ||
55 | 218, 215, 213, 211, 208, 206, 203, 201, 198, 196, 193, 190, 188, 185, 182, 179, | ||
56 | 176, 173, 170, 167, 165, 162, 158, 155, 152, 149, 146, 143, 140, 137, 134, 131, | ||
57 | 128, 124, 121, 118, 115, 112, 109, 106, 103, 100, 97, 93, 90, 88, 85, 82, | ||
58 | 79, 76, 73, 70, 67, 65, 62, 59, 57, 54, 52, 49, 47, 44, 42, 40, | ||
59 | 37, 35, 33, 31, 29, 27, 25, 23, 21, 20, 18, 17, 15, 14, 12, 11, | ||
60 | 10, 9, 7, 6, 5, 5, 4, 3, 2, 2, 1, 1, 1, 0, 0, 0 | ||
61 | }; | ||
62 | #endif | ||
63 | |||
64 | // clang-format on | 43 | // 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 <http://www.gnu.org/licenses/>. | |||
23 | extern const uint8_t CIE1931_CURVE[] PROGMEM; | 23 | extern const uint8_t CIE1931_CURVE[] PROGMEM; |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #ifdef USE_LED_BREATHING_TABLE | ||
27 | extern const uint8_t LED_BREATHING_TABLE[] PROGMEM; | ||
28 | #endif | ||
29 | |||
30 | #endif | 26 | #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 = \ | |||
29 | HD44780_ENABLE \ | 29 | HD44780_ENABLE \ |
30 | ENCODER_ENABLE \ | 30 | ENCODER_ENABLE \ |
31 | LCD_ENABLE \ | 31 | LCD_ENABLE \ |
32 | LED_BREATHING_TABLE \ | ||
33 | LED_TABLES \ | 32 | LED_TABLES \ |
34 | POINTING_DEVICE_ENABLE \ | 33 | POINTING_DEVICE_ENABLE \ |
35 | VISUALIZER_ENABLE \ | 34 | VISUALIZER_ENABLE \ |