summaryrefslogtreecommitdiffstats
path: root/keyboards/dztech/dz40rgb/dz40rgb.c
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2019-05-10 09:48:07 +0800
committerDrashna Jaelre <drashna@live.com>2019-05-09 18:48:07 -0700
commitbce391a663d2848bff8ffffca0e4bad771bd3890 (patch)
tree59837151307cfda19e6da1bf7b97223db664320e /keyboards/dztech/dz40rgb/dz40rgb.c
parent2835a7074985f25dea9398a7ac211914c9d52fe4 (diff)
[Keyboard] DZTECH: CODE CLEANUP (#5828)
* Delete board.c * Delete board.h * Delete board.mk * Delete bootloader_defs.h * Delete chconf.h * Delete halconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update config.h * Update config.h * Update config.h * Update config.h * Update rules.mk * Delete bootloader_defs.h * Delete halconf.h * Delete chconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update dz40rgb.c * Update dz65rgb.c
Diffstat (limited to 'keyboards/dztech/dz40rgb/dz40rgb.c')
-rw-r--r--keyboards/dztech/dz40rgb/dz40rgb.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/dztech/dz40rgb/dz40rgb.c b/keyboards/dztech/dz40rgb/dz40rgb.c
index e5e39c92ab..92e4a7cad3 100644
--- a/keyboards/dztech/dz40rgb/dz40rgb.c
+++ b/keyboards/dztech/dz40rgb/dz40rgb.c
@@ -181,28 +181,23 @@ led_config_t g_led_config = { {
#endif
-
void matrix_init_kb(void) {
matrix_init_user();
}
-
-
void matrix_scan_kb(void) {
matrix_scan_user();
}
-
-
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
-
-
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();
}