From 116c0e44a1a4999c54019e48337c0e6b92a710f8 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 6 Mar 2020 12:12:20 +0000 Subject: Remove stub backlight functions from clueboard/66/rev4 (#8303) --- keyboards/clueboard/66/rev4/rev4.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'keyboards/clueboard/66/rev4/rev4.c') 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 -- cgit v1.2.3