aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
diff options
context:
space:
mode:
authorGravatar Michael Krasnitski <42564254+mkrasnitski@users.noreply.github.com>2020-07-22 01:55:35 -0400
committerGravatar GitHub <noreply@github.com>2020-07-22 15:55:35 +1000
commitd7a4b14bc6536cdd4d6317d98eb69993a1ad13ef (patch)
treee70c3d60372de9d507361ba1d578181397180f38 /keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
parent74d3223fb5fdbbc43f65f5a5a9e2bb4b2c52fec6 (diff)
downloadqmk_firmware-d7a4b14bc6536cdd4d6317d98eb69993a1ad13ef.tar.gz
Fix compilation warning for the DZ60RGB/DZ65RGB when RGB matrix is disabled (#9791)
Diffstat (limited to 'keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c')
-rw-r--r--keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
index 910797120..4bb5938b6 100644
--- a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
+++ b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
@@ -90,7 +90,6 @@ led_config_t g_led_config = {
1, 1, 1, 1, 4, 1, 1, 1
}
};
-#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@@ -108,3 +107,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(40, 0xFF, 0xFF, 0xFF);
}
}
+#endif