Skip to content

Commit

Permalink
3x5_3 rebase and fix compile
Browse files Browse the repository at this point in the history
PR qmk#21060 added the new shutdown_kb callback to dilemma.c, so can be
removed from 3x5_3.c
  • Loading branch information
casuanoob committed Dec 1, 2023
1 parent a2e758b commit 75b977f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions keyboards/bastardkb/dilemma/3x5_3/3x5_3.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,4 @@ bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
}
return false;
};

// Forward-declare this helper function since it is defined in rgb_matrix.c.
void rgb_matrix_update_pwm_buffers(void);

__attribute__((weak)) void shutdown_user(void) {
rgb_matrix_set_color_all(rgb_matrix_get_val(), 0x00, 0x00);
rgb_matrix_update_pwm_buffers();
}
#endif // RGB_MATRIX_ENABLE

0 comments on commit 75b977f

Please sign in to comment.