summaryrefslogtreecommitdiffstats
path: root/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c
diff options
context:
space:
mode:
authorwangfuco <46733695+wangfuco@users.noreply.github.com>2023-01-26 22:11:29 -0800
committerGitHub <noreply@github.com>2023-01-26 23:11:29 -0700
commitf1b5659ba8227624a3f31fc551212cb64d8c763f (patch)
treef462eb196ba6228c66cd5d367cef7f95ff4ae567 /keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c
parentad817a71a3b6bdb21c2e628d853e6312d7aa0100 (diff)
fix pegasushoof caps light, add via keymap (#19649)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Fucong Wang <wangfuco@Fucongs-Mac-mini.local>
Diffstat (limited to 'keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c')
-rw-r--r--keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c
index 30f2bd47ee..58db20797e 100644
--- a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c
+++ b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c
@@ -80,12 +80,12 @@ void matrix_scan_user(void)
uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case KM_BLOWRAK:
- ph_caps_led_on();
- ph_sclk_led_off();
+ writePin(LED_CAPS_LOCK_PIN, LED_PIN_ON_STATE);
+ writePin(LED_SCROLL_LOCK_PIN, !LED_PIN_ON_STATE);
break;
case KM_QWERTY:
- ph_sclk_led_on();
- ph_caps_led_off();
+ writePin(LED_CAPS_LOCK_PIN, !LED_PIN_ON_STATE);
+ writePin(LED_SCROLL_LOCK_PIN, LED_PIN_ON_STATE);
break;
}
}