diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2018-01-13 20:38:25 -0800 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-01-13 23:38:25 -0500 |
commit | 5836d1a06a7265781fa37acf13e3ba9df7224247 (patch) | |
tree | fe4161c2cb1dc28b5eab39c5d97caedc92b7efc8 /keyboards/clueboard/60/led.c | |
parent | fd359e23e8b46826f480d1bcf21261c3f777e2f4 (diff) | |
download | qmk_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.c | 9 |
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); |