summaryrefslogtreecommitdiffstats
path: root/keyboard/planck
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-02-24 05:44:11 +0100
committerJack Humbert <jack.humb@gmail.com>2015-02-24 05:44:11 +0100
commita538f71e41ad5c594250594b053f05e550667ebc (patch)
treecc7786e95fd0775e0389c0cb6da40d555ecb5822 /keyboard/planck
parent64dc4784e46cd5b5b2614569208fd85c9f9a67a9 (diff)
downloadqmk_firmware-a538f71e41ad5c594250594b053f05e550667ebc.tar.gz
qmk_firmware-a538f71e41ad5c594250594b053f05e550667ebc.tar.xz
led oops
Diffstat (limited to 'keyboard/planck')
-rw-r--r--keyboard/planck/keymap_joe.c2
-rw-r--r--keyboard/planck/led.c18
2 files changed, 10 insertions, 10 deletions
diff --git a/keyboard/planck/keymap_joe.c b/keyboard/planck/keymap_joe.c
index 15b16530e..07122b702 100644
--- a/keyboard/planck/keymap_joe.c
+++ b/keyboard/planck/keymap_joe.c
@@ -78,7 +78,7 @@ const uint16_t PROGMEM fn_actions[] = {
};
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
-{
+{
keyevent_t event = record->event;
switch (id) {
case M_Q0:
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);
+ // }
}