aboutsummaryrefslogtreecommitdiff
path: root/hwdef-noctigon-kr4.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwdef-noctigon-kr4.c')
-rw-r--r--hwdef-noctigon-kr4.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/hwdef-noctigon-kr4.c b/hwdef-noctigon-kr4.c
index 5813a9b..e49ff69 100644
--- a/hwdef-noctigon-kr4.c
+++ b/hwdef-noctigon-kr4.c
@@ -6,6 +6,19 @@
#include "chan-rgbaux.c"
+void set_level_main(uint8_t level);
+bool gradual_tick_main(uint8_t gt);
+
+
+Channel channels[] = {
+ { // channel 1 only
+ .set_level = set_level_main,
+ .gradual_tick = gradual_tick_main
+ },
+ RGB_AUX_CHANNELS
+};
+
+
// single set of LEDs with 2 stacked power channels, linear + DD FET
void set_level_main(uint8_t level) {
if (level == 0) {