diff options
author | Joel Challis <git@zvecr.com> | 2020-03-06 12:12:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 12:12:20 +0000 |
commit | 116c0e44a1a4999c54019e48337c0e6b92a710f8 (patch) | |
tree | b1c80655dd16915f70be39f5dd02d87d201425a2 | |
parent | 3c0ef04390b3858a0b73707c88e56bb8f65983a9 (diff) | |
download | qmk_firmware-116c0e44a1a4999c54019e48337c0e6b92a710f8.tar.gz qmk_firmware-116c0e44a1a4999c54019e48337c0e6b92a710f8.zip |
Remove stub backlight functions from clueboard/66/rev4 (#8303)
-rw-r--r-- | keyboards/clueboard/66/rev4/rev4.c | 33 | ||||
-rw-r--r-- | keyboards/clueboard/66/rev4/rules.mk | 4 |
2 files changed, 2 insertions, 35 deletions
diff --git a/keyboards/clueboard/66/rev4/rev4.c b/keyboards/clueboard/66/rev4/rev4.c index 041c31cd3..69eb48183 100644 --- a/keyboards/clueboard/66/rev4/rev4.c +++ b/keyboards/clueboard/66/rev4/rev4.c | |||
@@ -8,39 +8,6 @@ void matrix_init_kb(void) { | |||
8 | led_init_ports(); | 8 | led_init_ports(); |
9 | } | 9 | } |
10 | 10 | ||
11 | void matrix_scan_kb(void) { | ||
12 | matrix_scan_user(); | ||
13 | } | ||
14 | |||
15 | void backlight_init_ports(void) { | ||
16 | print("init_backlight_pin()\n"); | ||
17 | // Set our LED pins as output | ||
18 | //DDRD |= (1<<6); // Esc | ||
19 | //DDRB |= (1<<7); // Page Up | ||
20 | //DDRD |= (1<<4); // Arrows | ||
21 | |||
22 | // Set our LED pins low | ||
23 | //PORTD &= ~(1<<6); // Esc | ||
24 | //PORTB &= ~(1<<7); // Page Up | ||
25 | //PORTD &= ~(1<<4); // Arrows | ||
26 | } | ||
27 | |||
28 | void backlight_set(uint8_t level) { | ||
29 | /* | ||
30 | if ( level == 0 ) { | ||
31 | // Turn off light | ||
32 | PORTD |= (1<<6); // Esc | ||
33 | PORTB |= (1<<7); // Page Up | ||
34 | PORTD |= (1<<4); // Arrows | ||
35 | } else { | ||
36 | // Turn on light | ||
37 | PORTD &= ~(1<<6); // Esc | ||
38 | PORTB &= ~(1<<7); // Page Up | ||
39 | PORTD &= ~(1<<4); // Arrows | ||
40 | } | ||
41 | */ | ||
42 | } | ||
43 | |||
44 | void led_init_ports() { | 11 | void led_init_ports() { |
45 | // Set our LED pins as output | 12 | // Set our LED pins as output |
46 | palSetPadMode(GPIOB, 13, PAL_MODE_OUTPUT_PUSHPULL); // LED1 | 13 | palSetPadMode(GPIOB, 13, PAL_MODE_OUTPUT_PUSHPULL); // LED1 |
diff --git a/keyboards/clueboard/66/rev4/rules.mk b/keyboards/clueboard/66/rev4/rules.mk index 54264c128..f8e4c07a4 100644 --- a/keyboards/clueboard/66/rev4/rules.mk +++ b/keyboards/clueboard/66/rev4/rules.mk | |||
@@ -4,7 +4,6 @@ MCU = STM32F303 | |||
4 | # Build Options | 4 | # Build Options |
5 | # comment out to disable the options. | 5 | # comment out to disable the options. |
6 | # | 6 | # |
7 | BACKLIGHT_ENABLE = yes | ||
8 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | 7 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration |
9 | MOUSEKEY_ENABLE = yes # Mouse keys | 8 | MOUSEKEY_ENABLE = yes # Mouse keys |
10 | EXTRAKEY_ENABLE = yes # Audio control and System control | 9 | EXTRAKEY_ENABLE = yes # Audio control and System control |
@@ -12,7 +11,8 @@ CONSOLE_ENABLE = yes # Console for debug | |||
12 | COMMAND_ENABLE = no # Commands for debug and configuration | 11 | COMMAND_ENABLE = no # Commands for debug and configuration |
13 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 12 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
14 | AUDIO_ENABLE = no | 13 | AUDIO_ENABLE = no |
15 | RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality | 14 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
15 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
16 | MIDI_ENABLE = no # MIDI controls | 16 | MIDI_ENABLE = no # MIDI controls |
17 | UNICODE_ENABLE = no # Unicode | 17 | UNICODE_ENABLE = no # Unicode |
18 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 18 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |