summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/60/led.c
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2018-01-13 20:38:25 -0800
committerJack Humbert <jack.humb@gmail.com>2018-01-13 23:38:25 -0500
commit5836d1a06a7265781fa37acf13e3ba9df7224247 (patch)
treefe4161c2cb1dc28b5eab39c5d97caedc92b7efc8 /keyboards/clueboard/60/led.c
parentfd359e23e8b46826f480d1bcf21261c3f777e2f4 (diff)
downloadqmk_firmware-5836d1a06a7265781fa37acf13e3ba9df7224247.tar.gz
qmk_firmware-5836d1a06a7265781fa37acf13e3ba9df7224247.zip
Fix up the ARM audio support (#2136)
* Get audio working on clueboard/60 * add keys for music mode * Change doubles to floats * add keys for all the songs * revert to the default startup sound * Remove music mode until we can figure out why it crashes
Diffstat (limited to 'keyboards/clueboard/60/led.c')
-rw-r--r--keyboards/clueboard/60/led.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/clueboard/60/led.c b/keyboards/clueboard/60/led.c
index fdf244ad50..350696736b 100644
--- a/keyboards/clueboard/60/led.c
+++ b/keyboards/clueboard/60/led.c
@@ -23,7 +23,7 @@
void backlight_init_ports(void) {
printf("backlight_init_ports()\n");
#ifdef BACKLIGHT_ENABLE
- palSetPadMode(GPIOB, 8, PAL_MODE_OUTPUT_PUSHPULL);
+ palSetPadMode(GPIOB, 8, PAL_MODE_OUTPUT_PUSHPULL);
palSetPad(GPIOB, 8);
#endif
}
@@ -41,13 +41,8 @@ void backlight_set(uint8_t level) {
#endif
}
-void led_init_ports() {
- printf("led_init_ports()\n");
- palSetPadMode(GPIOB, 7, PAL_MODE_OUTPUT_PUSHPULL);
-}
-
void led_set_kb(uint8_t usb_led) {
- printf("led_init_ports()\n");
+ printf("led_set_kb(%d)\n", usb_led);
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// Turn capslock on
palSetPad(GPIOB, 7);