diff options
author | fauxpark <fauxpark@gmail.com> | 2019-07-16 16:05:07 +1000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-07-19 10:08:18 +0900 |
commit | 0b25414aec69aa0651daf69a6c7498273c4bcf1a (patch) | |
tree | 8ed6c24b66a4aa635c213339921889d42e6951cb | |
parent | 3dd97c383b8c1acd0a0706df9f8bf270aea89ca1 (diff) |
Remove lock LED example in quantum.c (#5636)
* Use GPIO helper defines in backlighting
* While I'm here, fix up the lock LED example too
* Remove the example altogether, it's already documented
-rw-r--r-- | quantum/quantum.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 426de28d84..09ee71108d 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -1384,23 +1384,6 @@ void led_init_ports(void) __attribute__ ((weak)) void led_set(uint8_t usb_led) { - - // Example LED Code - // - // // Using PE6 Caps Lock LED - // if (usb_led & (1<<USB_LED_CAPS_LOCK)) - // { - // // Output high. - // DDRE |= (1<<6); - // PORTE |= (1<<6); - // } - // else - // { - // // Output low. - // DDRE &= ~(1<<6); - // PORTE &= ~(1<<6); - // } - #if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE) // Use backlight as Caps Lock indicator uint8_t bl_toggle_lvl = 0; |