summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-03-06 12:12:20 +0000
committerGitHub <noreply@github.com>2020-03-06 12:12:20 +0000
commit116c0e44a1a4999c54019e48337c0e6b92a710f8 (patch)
treeb1c80655dd16915f70be39f5dd02d87d201425a2 /keyboards/clueboard/66
parent3c0ef04390b3858a0b73707c88e56bb8f65983a9 (diff)
downloadqmk_firmware-116c0e44a1a4999c54019e48337c0e6b92a710f8.tar.gz
qmk_firmware-116c0e44a1a4999c54019e48337c0e6b92a710f8.zip
Remove stub backlight functions from clueboard/66/rev4 (#8303)
Diffstat (limited to 'keyboards/clueboard/66')
-rw-r--r--keyboards/clueboard/66/rev4/rev4.c33
-rw-r--r--keyboards/clueboard/66/rev4/rules.mk4
2 files changed, 2 insertions, 35 deletions
diff --git a/keyboards/clueboard/66/rev4/rev4.c b/keyboards/clueboard/66/rev4/rev4.c
index 041c31cd32..69eb48183e 100644
--- a/keyboards/clueboard/66/rev4/rev4.c
+++ b/keyboards/clueboard/66/rev4/rev4.c
@@ -8,39 +8,6 @@ void matrix_init_kb(void) {
led_init_ports();
}
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-
-void backlight_init_ports(void) {
- print("init_backlight_pin()\n");
- // Set our LED pins as output
- //DDRD |= (1<<6); // Esc
- //DDRB |= (1<<7); // Page Up
- //DDRD |= (1<<4); // Arrows
-
- // Set our LED pins low
- //PORTD &= ~(1<<6); // Esc
- //PORTB &= ~(1<<7); // Page Up
- //PORTD &= ~(1<<4); // Arrows
-}
-
-void backlight_set(uint8_t level) {
-/*
- if ( level == 0 ) {
- // Turn off light
- PORTD |= (1<<6); // Esc
- PORTB |= (1<<7); // Page Up
- PORTD |= (1<<4); // Arrows
- } else {
- // Turn on light
- PORTD &= ~(1<<6); // Esc
- PORTB &= ~(1<<7); // Page Up
- PORTD &= ~(1<<4); // Arrows
- }
-*/
-}
-
void led_init_ports() {
// Set our LED pins as output
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 54264c128d..f8e4c07a47 100644
--- a/keyboards/clueboard/66/rev4/rules.mk
+++ b/keyboards/clueboard/66/rev4/rules.mk
@@ -4,7 +4,6 @@ MCU = STM32F303
# Build Options
# comment out to disable the options.
#
-BACKLIGHT_ENABLE = yes
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
@@ -12,7 +11,8 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI controls
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID