diff options
author | Alex Johnstone <alexjj@gmail.com> | 2016-03-25 11:16:33 -0700 |
---|---|---|
committer | Alex Johnstone <alexjj@gmail.com> | 2016-03-25 11:16:33 -0700 |
commit | 2d9037491271677f6642ec162b6a8be3ebb47e78 (patch) | |
tree | d3847db7e2b68c11f704e9635bc832ac7ec7a1e9 /quantum/led.c | |
parent | fb6dc7499f51688ec245826842300780273203c6 (diff) | |
parent | c9aec8bc246fe45a6486a5ef7a9ef1302e4e16ad (diff) |
Merge pull request #3 from jackhumbert/master
Pull upstream
Diffstat (limited to 'quantum/led.c')
-rw-r--r-- | quantum/led.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/led.c b/quantum/led.c index 2c05746607..9cdb8a5c20 100644 --- a/quantum/led.c +++ b/quantum/led.c @@ -19,9 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdint.h" #include "led.h" +__attribute__ ((weak)) +void led_set_kb(uint8_t usb_led) { + +} void led_set(uint8_t usb_led) { + + // Example LED Code + // // // Using PE6 Caps Lock LED // if (usb_led & (1<<USB_LED_CAPS_LOCK)) // { @@ -35,4 +42,6 @@ void led_set(uint8_t usb_led) // DDRE &= ~(1<<6); // PORTE &= ~(1<<6); // } + + led_set_kb(usb_led); } |