summaryrefslogtreecommitdiff
path: root/keyboard/planck/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/led.c')
-rw-r--r--keyboard/planck/led.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c
index 1f36434883..2c05746607 100644
--- a/keyboard/planck/led.c
+++ b/keyboard/planck/led.c
@@ -22,17 +22,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void led_set(uint8_t usb_led)
{
- // 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);
- }
+ // // 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);
+ // }
}