Skip to content

Commit

Permalink
Fix documentation and side led blinking on wake
Browse files Browse the repository at this point in the history
Left side LED blinks quickly white on wake before, now it should be fixed.
  • Loading branch information
jincao1 committed Feb 25, 2025
1 parent 815b275 commit 103f1ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion keyboards/nuphy/air75_v2/ansi/customizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BT mode key. No indicator for RF as the sidelight is a different colour.
- No Sleep - for those that want their board to always be on... Right indicator blinks red.
- Keyboard will never go to deep sleep in USB mode. This seems to cause issues on wake and I don't have a solution. I'm expecting that the device is powered and if it's not the keyboard would reset anyway.
- Keyboard won't go to deep sleep if charging on wireless mode as charging interrupts the MCU causing it to sleep and wake repeatedly. To restore the proper sleep mode you must wake the board while it's off the charger.
- Moved RGB brightness down/up to layer 4 as `Fn + M + F2` and `Fn + M + F3` respectively to reduce chance of mispress in NuFolio case. This matches the brightness down/up keys on F1 and F2.
- Moved RGB brightness down/up to layer 4 as `Fn + M + F1` and `Fn + M + F2` respectively to reduce chance of mispress in NuFolio case. This matches the brightness down/up keys on F1 and F2.

## Fixes

Expand Down
3 changes: 0 additions & 3 deletions keyboards/nuphy/air75_v2/ansi/mcu_pwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
//------------------------------------------------
// 外部变量
extern DEV_INFO_STRUCT dev_info;
extern bool flush_side_leds;

// static bool f_usb_deinit = 0;
static bool sleeping = false;
Expand Down Expand Up @@ -269,9 +268,7 @@ void led_pwr_wake_handle(void) {
}
if (side_led_powered_off) {
pwr_side_led_on();
flush_side_leds = true;
side_rgb_set_color_all(0, 0, 0); // reset the colours otherwise it won't turn back on.
side_rgb_refresh();
}
}

Expand Down

0 comments on commit 103f1ec

Please sign in to comment.