summaryrefslogtreecommitdiff
path: root/keyboard/atomic/led.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-02-23 23:44:11 -0500
committerJack Humbert <jack.humb@gmail.com>2015-02-23 23:44:11 -0500
commita538f71e41ad5c594250594b053f05e550667ebc (patch)
treecc7786e95fd0775e0389c0cb6da40d555ecb5822 /keyboard/atomic/led.c
parent64dc4784e46cd5b5b2614569208fd85c9f9a67a9 (diff)
led oops
Diffstat (limited to 'keyboard/atomic/led.c')
-rw-r--r--keyboard/atomic/led.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/keyboard/atomic/led.c b/keyboard/atomic/led.c
index 7c98510801..2d52fbf1c3 100644
--- a/keyboard/atomic/led.c
+++ b/keyboard/atomic/led.c
@@ -22,13 +22,4 @@ 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);
- }
}