aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1c515f55f..d2c5d5c20 100644
--- a/keyboards/satan/satan.c
+++ b/keyboards/satan/satan.c
@@ -22,9 +22,9 @@ void led_init_ports(void) {
22void led_set_kb(uint8_t usb_led) { 22void led_set_kb(uint8_t usb_led) {
23 if (usb_led & (1<<USB_LED_CAPS_LOCK)) { 23 if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
24 // Turn capslock on 24 // Turn capslock on
25 PORTB |= (1<<2); 25 PORTB &= ~(1<<2);
26 } else { 26 } else {
27 // Turn capslock off 27 // Turn capslock off
28 PORTB &= ~(1<<2); 28 PORTB |= (1<<2);
29 } 29 }
30} 30}