summaryrefslogtreecommitdiff
path: root/keyboards
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
parent74d3223fb5fdbbc43f65f5a5a9e2bb4b2c52fec6 (diff)
Fix compilation warning for the DZ60RGB/DZ65RGB when RGB matrix is disabled (#9791)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/dztech/dz60rgb/dz60rgb.c2
-rw-r--r--keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c2
-rw-r--r--keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c2
-rw-r--r--keyboards/dztech/dz65rgb/dz65rgb.c2
4 files changed, 4 insertions, 4 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
diff --git a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c
index 910797120b..4bb5938b66 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
diff --git a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c
index 482e98fa43..b57560bacd 100644
--- a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c
+++ b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c
@@ -91,7 +91,6 @@ led_config_t g_led_config = {
1, 1, 1, 4, 1, 1, 1
}
};
-#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@@ -109,3 +108,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(41, 0xFF, 0xFF, 0xFF);
}
}
+#endif
diff --git a/keyboards/dztech/dz65rgb/dz65rgb.c b/keyboards/dztech/dz65rgb/dz65rgb.c
index 43d8f3494b..aa5bf6601c 100644
--- a/keyboards/dztech/dz65rgb/dz65rgb.c
+++ b/keyboards/dztech/dz65rgb/dz65rgb.c
@@ -97,7 +97,6 @@ led_config_t g_led_config = {
1, 1, 1, 4, 1, 1, 1, 1, 1, 1
}
};
-#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@@ -115,3 +114,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
}
}
+#endif