diff options
author | Joel Challis <git@zvecr.com> | 2024-08-04 02:07:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-04 02:07:02 +0100 |
commit | 0fbe15030357a9dca7d6d3d9de4facea5a7b4bcc (patch) | |
tree | aaf1fbe5ee0ccf6258009dfaadfece2992f905be /keyboards/handwired | |
parent | 0b4065b50cbcb1760c7e81d3c550c2dfdacd9d83 (diff) |
Remove unnecessary RGB Matrix shutdown hooks (#24238)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/colorlice/colorlice.c | 14 | ||||
-rw-r--r-- | keyboards/handwired/p65rgb/p65rgb.c | 31 |
2 files changed, 0 insertions, 45 deletions
diff --git a/keyboards/handwired/colorlice/colorlice.c b/keyboards/handwired/colorlice/colorlice.c index 92914b79bc..81e87d8c7a 100644 --- a/keyboards/handwired/colorlice/colorlice.c +++ b/keyboards/handwired/colorlice/colorlice.c @@ -37,17 +37,3 @@ led_config_t g_led_config = { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } }; #endif - -#ifdef RGB_MATRIX_ENABLE -void suspend_power_down_kb(void) -{ - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) -{ - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} -#endif diff --git a/keyboards/handwired/p65rgb/p65rgb.c b/keyboards/handwired/p65rgb/p65rgb.c deleted file mode 100644 index 3d7185f9d1..0000000000 --- a/keyboards/handwired/p65rgb/p65rgb.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2019 marhalloweenvt - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "quantum.h" - -#ifdef RGB_MATRIX_ENABLE -void suspend_power_down_kb(void) -{ - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) -{ - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} -#endif |