From 75b977f288f9a07fe0122af92ff9e8b6d01ded00 Mon Sep 17 00:00:00 2001 From: casuanoob Date: Fri, 1 Dec 2023 15:57:31 +1100 Subject: [PATCH] 3x5_3 rebase and fix compile PR #21060 added the new shutdown_kb callback to dilemma.c, so can be removed from 3x5_3.c --- keyboards/bastardkb/dilemma/3x5_3/3x5_3.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c b/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c index 5d8d2413767..55c11982a2b 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c +++ b/keyboards/bastardkb/dilemma/3x5_3/3x5_3.c @@ -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