diff options
Diffstat (limited to 'quantum')
| -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 6530738b7..44635fe3e 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -1581,23 +1581,6 @@ void led_init_ports(void) | |||
| 1581 | __attribute__ ((weak)) | 1581 | __attribute__ ((weak)) |
| 1582 | void led_set(uint8_t usb_led) | 1582 | void led_set(uint8_t usb_led) |
| 1583 | { | 1583 | { |
| 1584 | |||
| 1585 | // Example LED Code | ||
| 1586 | // | ||
| 1587 | // // Using PE6 Caps Lock LED | ||
| 1588 | // if (usb_led & (1<<USB_LED_CAPS_LOCK)) | ||
| 1589 | // { | ||
| 1590 | // // Output high. | ||
| 1591 | // DDRE |= (1<<6); | ||
| 1592 | // PORTE |= (1<<6); | ||
| 1593 | // } | ||
| 1594 | // else | ||
| 1595 | // { | ||
| 1596 | // // Output low. | ||
| 1597 | // DDRE &= ~(1<<6); | ||
| 1598 | // PORTE &= ~(1<<6); | ||
| 1599 | // } | ||
| 1600 | |||
| 1601 | #if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE) | 1584 | #if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE) |
| 1602 | // Use backlight as Caps Lock indicator | 1585 | // Use backlight as Caps Lock indicator |
| 1603 | uint8_t bl_toggle_lvl = 0; | 1586 | uint8_t bl_toggle_lvl = 0; |
