summaryrefslogtreecommitdiff
path: root/keyboard/planck/led.c
diff options
context:
space:
mode:
authorcr3473 <joe@createtank.com>2015-05-27 08:29:48 -0700
committercr3473 <joe@createtank.com>2015-05-27 08:29:48 -0700
commitb36d1a87da2395fd5429e2817409c76f065387b5 (patch)
tree1e4a76822deaf92db83896548fa3c3003f7640f3 /keyboard/planck/led.c
parenta4cf9ae660b16d1952738139ba8f788368b73eff (diff)
parentd61d1f5ca3a7dcccc495ac6688e0632c601c0623 (diff)
downloadqmk_firmware-b36d1a87da2395fd5429e2817409c76f065387b5.tar.gz
qmk_firmware-b36d1a87da2395fd5429e2817409c76f065387b5.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboard/planck/led.c')
-rw-r--r--keyboard/planck/led.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c
index 6cffd5ea7b..2c05746607 100644
--- a/keyboard/planck/led.c
+++ b/keyboard/planck/led.c
@@ -22,13 +22,17 @@ 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)) {
+ // // Using PE6 Caps Lock LED
+ // if (usb_led & (1<<USB_LED_CAPS_LOCK))
+ // {
// // Output high.
- // DDRF |= (1<<0);
- // PORTF |= (1<<0);
- // } else {
+ // DDRE |= (1<<6);
+ // PORTE |= (1<<6);
+ // }
+ // else
+ // {
// // Output low.
- // DDRF &= ~(1<<0);
- // PORTF &= ~(1<<0);
+ // DDRE &= ~(1<<6);
+ // PORTE &= ~(1<<6);
// }
}