Update GPIO macros in keymaps (#23792)
This commit is contained in:
parent
8ff8e9eae5
commit
b8f29c3865
82 changed files with 402 additions and 402 deletions
|
@ -84,16 +84,16 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
#ifdef JOTANCK_LEDS
|
||||
switch (get_highest_layer(state)) {
|
||||
case _LOWER:
|
||||
writePinHigh(JOTANCK_LED1);
|
||||
writePinLow(JOTANCK_LED2);
|
||||
gpio_write_pin_high(JOTANCK_LED1);
|
||||
gpio_write_pin_low(JOTANCK_LED2);
|
||||
break;
|
||||
case _RAISE:
|
||||
writePinLow(JOTANCK_LED1);
|
||||
writePinHigh(JOTANCK_LED2);
|
||||
gpio_write_pin_low(JOTANCK_LED1);
|
||||
gpio_write_pin_high(JOTANCK_LED2);
|
||||
break;
|
||||
default:
|
||||
writePinLow(JOTANCK_LED1);
|
||||
writePinLow(JOTANCK_LED2);
|
||||
gpio_write_pin_low(JOTANCK_LED1);
|
||||
gpio_write_pin_low(JOTANCK_LED2);
|
||||
break;
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue