summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/led.c')
-rw-r--r--keyboard/planck/led.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c
index 7c9851080..6cffd5ea7 100644
--- a/keyboard/planck/led.c
+++ b/keyboard/planck/led.c
@@ -22,13 +22,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void led_set(uint8_t usb_led)
{
- if (usb_led & (1<<USB_LED_FUNCTION)) {
- // Output high.
- DDRF |= (1<<0);
- PORTF |= (1<<0);
- } else {
- // Output low.
- DDRF &= ~(1<<0);
- PORTF &= ~(1<<0);
- }
+ // if (usb_led & (1<<USB_LED_FUNCTION)) {
+ // // Output high.
+ // DDRF |= (1<<0);
+ // PORTF |= (1<<0);
+ // } else {
+ // // Output low.
+ // DDRF &= ~(1<<0);
+ // PORTF &= ~(1<<0);
+ // }
}