diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-08-16 23:51:53 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-08-16 23:51:53 +0200 |
commit | b3f638f491601d4a849995fb4fa1181c9ff4341a (patch) | |
tree | 2faf8bda68233a28abba86429c948d6fd841ef03 /keyboard/atomic/led.c | |
parent | 07d090db8ba5a3be15ec6c8ecf9e30815a48b0c0 (diff) | |
download | qmk_firmware-b3f638f491601d4a849995fb4fa1181c9ff4341a.tar.gz qmk_firmware-b3f638f491601d4a849995fb4fa1181c9ff4341a.tar.xz |
ok
Diffstat (limited to 'keyboard/atomic/led.c')
-rw-r--r-- | keyboard/atomic/led.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboard/atomic/led.c b/keyboard/atomic/led.c index 2d52fbf1c..2c0574660 100644 --- a/keyboard/atomic/led.c +++ b/keyboard/atomic/led.c @@ -22,4 +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); + // } } |