Browse Source

Update keyboards/keychron/c3_pro/c3_pro.c

Co-authored-by: Ryan <fauxpark@gmail.com>
pull/21860/head
Keychron_Macro 4 weeks ago
committed by GitHub
parent
commit
4ac49e17e2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      keyboards/keychron/c3_pro/c3_pro.c

+ 4
- 4
keyboards/keychron/c3_pro/c3_pro.c View File

@ -21,10 +21,10 @@ static uint8_t os_switch_indicate_count = 0;
static uint8_t led_toggle_count = 5;
void keyboard_post_init_kb(void) {
setPinOutputPushPull(LED_MAC_OS_PIN);
setPinOutputPushPull(LED_WIN_OS_PIN);
writePin(LED_MAC_OS_PIN, !LED_OS_PIN_ON_STATE);
writePin(LED_WIN_OS_PIN, !LED_OS_PIN_ON_STATE);
gpio_set_pin_output(LED_MAC_OS_PIN);
gpio_set_pin_output(LED_WIN_OS_PIN);
gpio_write_pin(LED_MAC_OS_PIN, !LED_OS_PIN_ON_STATE);
gpio_write_pin(LED_WIN_OS_PIN, !LED_OS_PIN_ON_STATE);
layer_state_t last_layer = eeconfig_read_default_layer();
if (last_layer) {


Loading…
Cancel
Save