summaryrefslogtreecommitdiff
path: root/keyboards/satan
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-06-30 12:38:48 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-06-30 12:38:48 -0400
commit44a5f7630f18b40b36270d49449a43cd42b802f0 (patch)
tree9d29ee26496a458bf161eeb59dab5e12d85cb3aa /keyboards/satan
parentc9f509f0168f6d11e743a9d2e37964c05e45672b (diff)
parenta8b55f8c858933a0f7641f7bf2dede640235aa70 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/satan')
-rw-r--r--keyboards/satan/satan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/satan/satan.c b/keyboards/satan/satan.c
index 1c515f55f9..d2c5d5c205 100644
--- a/keyboards/satan/satan.c
+++ b/keyboards/satan/satan.c
@@ -22,9 +22,9 @@ void led_init_ports(void) {
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// Turn capslock on
- PORTB |= (1<<2);
+ PORTB &= ~(1<<2);
} else {
// Turn capslock off
- PORTB &= ~(1<<2);
+ PORTB |= (1<<2);
}
}