diff options
| author | Selene ToyKeeper | 2023-07-20 20:30:18 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-07-20 20:30:18 -0600 |
| commit | ff0c77fea64e3b0b27cb3a3ca2e323a1581a6bb9 (patch) | |
| tree | 087ea6ce3745c8b1bc30c76aa1baa948cc648736 /hwdef-emisar-d4sv2.c | |
| parent | converted Emisar D4 and BLF Q8 to multi-channel, (diff) | |
| download | anduril-ff0c77fea64e3b0b27cb3a3ca2e323a1581a6bb9.tar.gz anduril-ff0c77fea64e3b0b27cb3a3ca2e323a1581a6bb9.tar.bz2 anduril-ff0c77fea64e3b0b27cb3a3ca2e323a1581a6bb9.zip | |
fixed D4Sv2 (using new refactor)
Diffstat (limited to 'hwdef-emisar-d4sv2.c')
| -rw-r--r-- | hwdef-emisar-d4sv2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hwdef-emisar-d4sv2.c b/hwdef-emisar-d4sv2.c index d67efb5..c19054e 100644 --- a/hwdef-emisar-d4sv2.c +++ b/hwdef-emisar-d4sv2.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[] = { + { // main LEDs + .set_level = set_level_main, + .gradual_tick = gradual_tick_main + }, + RGB_AUX_CHANNELS +}; + + // single set of LEDs with 3 stacked power channels, DDFET+3+1 void set_level_main(uint8_t level) { if (level == 0) { |
