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