Skip to content

refactor(channels): separate ClocklessEncoder from ChipsetTimingConfig (#2467) - #2468

Merged
zackees merged 1 commit into
masterfrom
refactor/2467-separate-clockless-encoder
May 12, 2026
Merged

zackees merged 1 commit into
masterfrom
refactor/2467-separate-clockless-encoder

Conversation

@zackees

@zackees zackees commented May 12, 2026 •

Copy link
Copy Markdown
Member

Closes #2467.

Summary

  • ChipsetTimingConfig is now pure bit-period timing (T1/T2/T3/RESET). Its operator== no longer silently ignores any field.
  • The byte-level encoding pipeline (ClocklessEncoder) is lifted to ClocklessChipset as a peer of pin/timing.
  • New fl::makeClockless<TIMING>(pin) helper collapses the historical two-step auto t = makeTimingConfig<X>(); ClocklessChipset(PIN, t); idiom into one expression — and carries the encoder selector through automatically.
  • ClocklessEncoder enum moves out of led_timing.h (a "T1/T2/T3 timing" header per its own comment) into a focused clockless_encoder.h.
  • AutoResearch infrastructure threads the encoder selector alongside the timing reference (via NamedTimingConfig / AutoResearchConfig) so runtime-named chipset variants like "UCS7604-800KHZ" preserve their encoder end-to-end through the test harness.
  • UCS7604 README/test paths migrated to makeClockless<>() so they don't silently regress to WS2812 encoding when the timing struct no longer drags its encoder along.

Why

ChipsetTimingConfig::operator== deliberately ignored the encoder field — the codebase's own confession that the merge of timing + encoder wasn't really a single concept. This split makes the equality contract honest, gives led_timing.h back its single responsibility, and shrinks the ~80 two-line call-site dances to one-line makeClockless<>(pin) invocations.

Test plan

  • bash test --cpp — 304/304 passed
  • bash lint — clean
  • bash test ucs7604 — passes; verifies encoder propagation via the new encoder_for<>() / makeClockless<>() helpers and that the UCS7604 preamble is still emitted end-to-end via the channel API
  • ESP32 hardware autoresearch smoke (downstream — AutoResearch example compiles; cross-platform CI will validate platform builds)

Backward compatibility

  • fl::makeTimingConfig<TIMING>() still works (returns pure-timing ChipsetTimingConfig).
  • ClocklessChipset(pin, timing) 2-arg constructor still works — encoder defaults to WS2812. Call sites that need non-WS2812 encoding should switch to makeClockless<TIMING>(pin); this PR migrates the UCS7604 sites that would otherwise silently regress.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Refactor

    • Reorganized encoder selection to reside directly in chipset configuration, improving clarity.
    • Introduced makeClockless<>() helper function for more streamlined configuration construction.
    • Enhanced configuration propagation to ensure encoder selection persists through system operations.
  • Documentation

    • Updated UCS7604 examples to demonstrate the new simplified configuration approach.

Review Change Stack

#2467)

Bit-period timing and the byte-level encoding pipeline are two concerns
that were merged into ChipsetTimingConfig. The codebase already signaled
the mismatch by having ChipsetTimingConfig::operator== deliberately
ignore the encoder field — a clear sign the field wasn't really part of
"timing" identity.

Changes:
- New header src/fl/chipsets/clockless_encoder.h owns ClocklessEncoder
  enum + has_encoder / get_encoder SFINAE + encoder_for<TIMING>().
- ChipsetTimingConfig drops its encoder field; operator== now honestly
  compares every field it carries.
- ClocklessChipset gains encoder as a peer field alongside pin/timing.
  Constructors are now constexpr.
- New makeClockless<TIMING>(pin) helper collapses the historical
  two-step "auto timing = makeTimingConfig<X>(); ClocklessChipset(pin,
  timing);" idiom into a single expression and carries the encoder
  selector through automatically.
- channel.cpp.hpp dispatch site reads clockless->encoder (peer field)
  instead of clockless->timing.encoder.
- led_timing.h no longer hosts the ClocklessEncoder enum (it includes
  clockless_encoder.h so UCS7604 timing structs' static ENCODER members
  keep compiling).
- AutoResearch infrastructure (NamedTimingConfig, AutoResearchConfig,
  isUCS7604, buildExpectedUCS7604) threads the encoder selector
  alongside the timing reference so runtime-named chipset variants
  preserve their encoder end-to-end.
- README + UCS7604 tests + UCS7604 example paths migrated to
  makeClockless<>() so they don't silently regress to WS2812 encoding.

Closes #2467
@coderabbitai

coderabbitai Bot commented May 12, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR refactors the FastLED chipset model to separate byte-level encoder selection from timing configuration. A new ClocklessEncoder header is created, the enum is moved out of led_timing.h, ChipsetTimingConfig becomes timing-only, and ClocklessChipset gains encoder as a peer field. A makeClockless<TIMING>() factory simplifies construction, and all examples, tests, and dispatch code are updated to use the new pattern.

Changes

Encoder/Timing Separation Refactor

Layer / File(s) Summary
New ClocklessEncoder header and detection utilities
src/fl/chipsets/clockless_encoder.h
Create new header defining fl::ClocklessEncoder runtime enum (WS2812, UCS7604 variants) and encoder_for<TIMING>() template that extracts compile-time encoder from timing traits or defaults to WS2812.
Refactor ChipsetTimingConfig to timing-only
src/fl/chipsets/chipset_timing_config.h
Remove encoder field and encoder-related constructor arguments from ChipsetTimingConfig; simplify to carry only bit-period timing plus name; update makeTimingConfig<CHIPSET>() to stop propagating encoder from traits.
Move ClocklessEncoder out of led_timing.h
src/fl/chipsets/led_timing.h
Remove local ClocklessEncoder enum definition and add include of new clockless_encoder.h header; update docs to note encoder is declared elsewhere.
Add encoder field to ClocklessChipset
src/fl/channels/config.h
Add ClocklessEncoder encoder as peer field to ClocklessChipset; add overload constructor accepting explicit encoder; update default constructors to initialize encoder to WS2812; extend operator== to compare encoder values.
Add makeClockless factory and update deprecated constructor
src/fl/channels/config.h
Introduce makeClockless<TIMING>(int pin) template that builds ClocklessChipset using makeTimingConfig<TIMING>() for timing and encoder_for<TIMING>() for encoder selection; update deprecated ChannelConfig template constructor to delegate through makeClockless.
Update Channel::showPixels() dispatch
src/fl/channels/channel.cpp.hpp
Switch UCS7604 encoding dispatch from clockless->timing.encoder to clockless->encoder; UCS7604 mode selection now reads directly from the encoder enum value.
Update documentation examples to use makeClockless
src/fl/channels/README.md
Replace manual makeTimingConfig<TIMING>() + ClocklessChipset(pin, timing) pattern with one-liner makeClockless<TIMING>(pin) calls in UCS7604 single-strip and multi-strip examples.
Add encoder field to AutoResearch configuration structures
examples/AutoResearch/AutoResearchTest.h, examples/AutoResearch/Common.h, examples/AutoResearch/AutoResearchTest.cpp
Add encoder field to AutoResearchConfig and NamedTimingConfig structs; update constructors to accept optional encoder parameter; change UCS7604 branch logic in test runners to check config.encoder instead of config.timing.
Thread encoder through AutoResearch test paths
examples/AutoResearch/AutoResearchHelpers.cpp, examples/AutoResearch/AutoResearchRemote.cpp
Construct explicit ClocklessChipset with encoder in single/parallel test modes; resolve ClocklessEncoder alongside timing using encoder_for<TIMING>(); pass timing_config.encoder to AutoResearchConfig constructor in both TX and RX validation paths.
Update UCS7604 chipset encoder tests
tests/fl/chipsets/ucs7604.cpp
Verify encoder_for<TIMING>() detection and makeClockless<>() behavior producing correct encoder values matching UCS7604 modes; construct test channels using makeClockless to ensure encoder is properly threaded into channel configuration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • FastLED/FastLED#2461: Modifies Channel::showPixels and channel layer internals in parallel with this encoder dispatch refactor.
  • FastLED/FastLED#2465: Also updates Channel::showPixels diagnostic code alongside this encoder structure change.

Poem

A rabbit refactors with care so fine,
Separating encoder from timing design,
makeClockless() now shines bright,
One-liners glow with LED light,
Concerns apart, the chipsets align! 🐰✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 30.77% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main refactoring: separating the ClocklessEncoder concern from ChipsetTimingConfig, which is the central change across all modified files.
Linked Issues check ✅ Passed The PR successfully addresses all coding objectives from #2467: removes encoder from ChipsetTimingConfig, adds encoder field to ClocklessChipset, introduces makeClockless<> helper, moves ClocklessEncoder to new clockless_encoder.h, updates encoder reads, threads encoder through AutoResearch, and migrates examples/tests to use makeClockless<>().
Out of Scope Changes check ✅ Passed All changes are scoped to the #2467 refactoring objectives. Documentation updates (README.md) directly support the migration plan. No unrelated features, refactorings, or cleanup tasks are present.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/2467-separate-clockless-encoder

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
examples/AutoResearch/AutoResearchTest.cpp (1)

1033-1040: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Critical: Encoder not passed when re-creating ChannelConfig for clockless chipsets.

The code re-creates ChannelConfig with config.timing but doesn't pass config.encoder when constructing the ClocklessChipset. This causes UCS7604 and other non-WS2812 chipsets to default to WS2812 encoding on the TX side, even though config.encoder is correctly set and used for RX-side comparison.

This breaks the encoder propagation chain established in testDriver (AutoResearchHelpers.cpp line 52) where ClocklessChipset is constructed with all three parameters.

🐛 Proposed fix to propagate encoder
         } else {
             // Clockless chipset: re-create with runtime timing
-            fl::ChannelConfig channel_config(config.tx_configs[i].getDataPin(), config.timing, config.tx_configs[i].mLeds, config.tx_configs[i].rgb_order);
+            fl::ClocklessChipset chipset(config.tx_configs[i].getDataPin(), config.timing, config.encoder);
+            fl::ChannelConfig channel_config(chipset, config.tx_configs[i].mLeds, config.tx_configs[i].rgb_order);
             channel = FastLED.add(channel_config);
         }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/AutoResearch/AutoResearchTest.cpp` around lines 1033 - 1040, When
re-creating ChannelConfig for clockless chipsets the encoder is not being
propagated, so the TX side falls back to WS2812 encoding; update the
Clockless/ChannelConfig construction in the else branch that builds
fl::ChannelConfig (currently using getDataPin(), config.timing, mLeds,
rgb_order) to also pass config.encoder (or otherwise set the encoder on the new
ChannelConfig) before calling FastLED.add, ensuring the encoder value from
config.tx_configs[i] / config.encoder is forwarded just like testDriver does
when constructing ClocklessChipset.
examples/AutoResearch/AutoResearchRemote.cpp (1)

345-350: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Missing encoder when constructing ChannelConfig for clockless chipsets.

For UCS7604 and other non-WS2812 chipsets, the encoder must be explicitly passed when creating ClocklessChipset. The current code uses the ChannelConfig(pin, timing, leds, order) constructor, which will default the encoder to WS2812 even when timing_config.encoder specifies UCS7604.

🐛 Proposed fix to propagate encoder
         } else {
+            fl::ClocklessChipset chipset(pin_tx + i, timing_config.timing, timing_config.encoder);
             tx_configs.push_back(fl::ChannelConfig(
-                pin_tx + i,  // Consecutive pins for multi-lane
-                timing_config.timing,
+                chipset,
                 fl::span<CRGB>(leds->data(), leds->size()),
-                RGB  // Default color order
+                RGB
             ));
         }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/AutoResearch/AutoResearchRemote.cpp` around lines 345 - 350, The
ChannelConfig being constructed in tx_configs uses the constructor that omits
the encoder, causing default WS2812 encoding even when timing_config.encoder
(for UCS7604 or other clockless chipsets) should be used; update the
ChannelConfig construction in the tx_configs push (where
tx_configs.push_back(fl::ChannelConfig(...)) is called) to pass
timing_config.encoder (or the appropriate encoder field) into the
ChannelConfig/ClocklessChipset constructor so the encoder from timing_config is
propagated to the channel.
♻️ Duplicate comments (2)
examples/AutoResearch/AutoResearchRemote.cpp (2)

679-685: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Same encoder propagation issue in parallel test path.

This has the same issue as line 346: ChannelConfig is constructed without passing timing_config.encoder to the ClocklessChipset. Apply the same fix pattern.

🐛 Proposed fix
+            fl::ClocklessChipset chipset(de.pin_tx + (int)li, timing_config.timing, timing_config.encoder);
             fl::ChannelConfig channel_config(
-                de.pin_tx + (int)li,  // Consecutive pins per lane
-                timing_config.timing,
+                chipset,
                 fl::span<CRGB>(leds->data(), leds->size()),
                 RGB,
                 opts
             );
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/AutoResearch/AutoResearchRemote.cpp` around lines 679 - 685, The
ChannelConfig construction in AutoResearchRemote.cpp omits passing
timing_config.encoder into the ClocklessChipset for the parallel test path;
update the ChannelConfig call that constructs fl::ChannelConfig (the block
creating channel_config with de.pin_tx + (int)li, timing_config.timing,
fl::span<CRGB>(leds->data(), leds->size()), RGB, opts) to include
timing_config.encoder in the ClocklessChipset initialization using the same
pattern you applied at the earlier occurrence (i.e., pass timing_config.encoder
into the ClocklessChipset constructor used by ChannelConfig).

749-756: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Same encoder propagation issue in RX validation path.

Another instance of the same pattern. The encoder must be passed for correct UCS7604 behavior.

🐛 Proposed fix
             for (fl::size li = 0; li < primary_driver.lane_sizes.size(); li++) {
+                fl::ClocklessChipset chipset(primary_driver.pin_tx + (int)li,
+                                             timing_config.timing,
+                                             timing_config.encoder);
                 tx_configs.push_back(fl::ChannelConfig(
-                    primary_driver.pin_tx + (int)li,
-                    timing_config.timing,
+                    chipset,
                     fl::span<CRGB>(all_led_arrays[led_array_offset + li]->data(),
                                    all_led_arrays[led_array_offset + li]->size()),
                     RGB
                 ));
             }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/AutoResearch/AutoResearchRemote.cpp` around lines 749 - 756, The RX
validation path repeats the ChannelConfig construction without passing the
encoder, causing incorrect UCS7604 behavior; update the fl::ChannelConfig call
that builds tx_configs (the one using primary_driver.pin_tx + (int)li,
timing_config.timing, fl::span<CRGB>(all_led_arrays[led_array_offset +
li]->data(), all_led_arrays[led_array_offset + li]->size()), RGB) to include the
encoder parameter (same encoder used in the matching TX path) so the constructor
receives the encoder argument for correct UCS7604 operation.
🧹 Nitpick comments (2)
src/fl/chipsets/chipset_timing_config.h (1)

13-13: ⚡ Quick win

Remove unnecessary include.

The clockless_encoder.h include is no longer needed since ChipsetTimingConfig no longer contains a ClocklessEncoder field. The encoder concern now lives entirely on ClocklessChipset (in config.h).

♻️ Proposed fix to remove unused include
 `#include` "fl/stl/stdint.h"
 `#include` "fl/chipsets/led_timing.h"
-#include "fl/chipsets/clockless_encoder.h"
 `#include` "fl/stl/noexcept.h"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/fl/chipsets/chipset_timing_config.h` at line 13, Remove the now-unused
include of "fl/chipsets/clockless_encoder.h" from the header where
ChipsetTimingConfig is defined: delete the `#include`
"fl/chipsets/clockless_encoder.h" line in chipset_timing_config.h because
ChipsetTimingConfig no longer contains a ClocklessEncoder field and encoder
logic has moved to ClocklessChipset (config.h); ensure no other symbols from
clockless_encoder.h are referenced in chipset_timing_config.h after removal.
examples/AutoResearch/AutoResearchRemote.cpp (1)

303-315: 💤 Low value

Encoder resolution logic looks correct but has minor duplication.

The pattern of resolving timing + encoder from timing_name is duplicated at lines 534-542 in runParallelTestImpl. Consider extracting to a helper function to reduce duplication and improve maintainability.

♻️ Optional refactor to reduce duplication
// Add helper function
struct ResolvedTimingConfig {
    fl::ChipsetTimingConfig timing;
    fl::ClocklessEncoder encoder;
    fl::string name;
};

static ResolvedTimingConfig resolveTimingByName(const fl::string& timing_name, bool use_legacy_api) {
    fl::ChipsetTimingConfig resolved_timing;
    fl::ClocklessEncoder resolved_encoder = fl::ClocklessEncoder::CLOCKLESS_ENCODER_WS2812;
    fl::string resolved_name = timing_name;
    
    if (use_legacy_api) {
        resolved_timing = fl::makeTimingConfig<fl::TIMING_WS2812_800KHZ>();
        resolved_encoder = fl::encoder_for<fl::TIMING_WS2812_800KHZ>();
        resolved_name = "WS2812-800KHZ";
    } else if (timing_name == "UCS7604-800KHZ") {
        resolved_timing = fl::makeTimingConfig<fl::TIMING_UCS7604_800KHZ>();
        resolved_encoder = fl::encoder_for<fl::TIMING_UCS7604_800KHZ>();
    } else {
        resolved_timing = fl::makeTimingConfig<fl::TIMING_WS2812B_V5>();
        resolved_encoder = fl::encoder_for<fl::TIMING_WS2812B_V5>();
    }
    
    return {resolved_timing, resolved_encoder, resolved_name};
}

// Then use at lines 303-315:
auto resolved = resolveTimingByName(timing_name, use_legacy_api);
fl::NamedTimingConfig timing_config(resolved.timing, resolved.name.c_str(), resolved.encoder);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/AutoResearch/AutoResearchRemote.cpp` around lines 303 - 315, Extract
the duplicated timing+encoder resolution into a helper (e.g., a static
resolveTimingByName function returning a small ResolvedTimingConfig struct with
fields timing, encoder, name) and replace both sites (the block that creates
fl::NamedTimingConfig and the similar logic in runParallelTestImpl) to call it;
inside the helper use fl::makeTimingConfig<...>() and fl::encoder_for<...>() for
the three cases (legacy use_legacy_api -> TIMING_WS2812_800KHZ, timing_name ==
"UCS7604-800KHZ" -> TIMING_UCS7604_800KHZ, else -> TIMING_WS2812B_V5) and return
values to construct fl::NamedTimingConfig at the call sites.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@examples/AutoResearch/AutoResearchRemote.cpp`:
- Around line 345-350: The ChannelConfig being constructed in tx_configs uses
the constructor that omits the encoder, causing default WS2812 encoding even
when timing_config.encoder (for UCS7604 or other clockless chipsets) should be
used; update the ChannelConfig construction in the tx_configs push (where
tx_configs.push_back(fl::ChannelConfig(...)) is called) to pass
timing_config.encoder (or the appropriate encoder field) into the
ChannelConfig/ClocklessChipset constructor so the encoder from timing_config is
propagated to the channel.

In `@examples/AutoResearch/AutoResearchTest.cpp`:
- Around line 1033-1040: When re-creating ChannelConfig for clockless chipsets
the encoder is not being propagated, so the TX side falls back to WS2812
encoding; update the Clockless/ChannelConfig construction in the else branch
that builds fl::ChannelConfig (currently using getDataPin(), config.timing,
mLeds, rgb_order) to also pass config.encoder (or otherwise set the encoder on
the new ChannelConfig) before calling FastLED.add, ensuring the encoder value
from config.tx_configs[i] / config.encoder is forwarded just like testDriver
does when constructing ClocklessChipset.

---

Duplicate comments:
In `@examples/AutoResearch/AutoResearchRemote.cpp`:
- Around line 679-685: The ChannelConfig construction in AutoResearchRemote.cpp
omits passing timing_config.encoder into the ClocklessChipset for the parallel
test path; update the ChannelConfig call that constructs fl::ChannelConfig (the
block creating channel_config with de.pin_tx + (int)li, timing_config.timing,
fl::span<CRGB>(leds->data(), leds->size()), RGB, opts) to include
timing_config.encoder in the ClocklessChipset initialization using the same
pattern you applied at the earlier occurrence (i.e., pass timing_config.encoder
into the ClocklessChipset constructor used by ChannelConfig).
- Around line 749-756: The RX validation path repeats the ChannelConfig
construction without passing the encoder, causing incorrect UCS7604 behavior;
update the fl::ChannelConfig call that builds tx_configs (the one using
primary_driver.pin_tx + (int)li, timing_config.timing,
fl::span<CRGB>(all_led_arrays[led_array_offset + li]->data(),
all_led_arrays[led_array_offset + li]->size()), RGB) to include the encoder
parameter (same encoder used in the matching TX path) so the constructor
receives the encoder argument for correct UCS7604 operation.

---

Nitpick comments:
In `@examples/AutoResearch/AutoResearchRemote.cpp`:
- Around line 303-315: Extract the duplicated timing+encoder resolution into a
helper (e.g., a static resolveTimingByName function returning a small
ResolvedTimingConfig struct with fields timing, encoder, name) and replace both
sites (the block that creates fl::NamedTimingConfig and the similar logic in
runParallelTestImpl) to call it; inside the helper use
fl::makeTimingConfig<...>() and fl::encoder_for<...>() for the three cases
(legacy use_legacy_api -> TIMING_WS2812_800KHZ, timing_name == "UCS7604-800KHZ"
-> TIMING_UCS7604_800KHZ, else -> TIMING_WS2812B_V5) and return values to
construct fl::NamedTimingConfig at the call sites.

In `@src/fl/chipsets/chipset_timing_config.h`:
- Line 13: Remove the now-unused include of "fl/chipsets/clockless_encoder.h"
from the header where ChipsetTimingConfig is defined: delete the `#include`
"fl/chipsets/clockless_encoder.h" line in chipset_timing_config.h because
ChipsetTimingConfig no longer contains a ClocklessEncoder field and encoder
logic has moved to ClocklessChipset (config.h); ensure no other symbols from
clockless_encoder.h are referenced in chipset_timing_config.h after removal.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 386333db-291e-44c7-860e-c4d8c1edbd61

📥 Commits

Reviewing files that changed from the base of the PR and between 0a5b9e0 and bd027d8.

📒 Files selected for processing (12)
  • examples/AutoResearch/AutoResearchHelpers.cpp
  • examples/AutoResearch/AutoResearchRemote.cpp
  • examples/AutoResearch/AutoResearchTest.cpp
  • examples/AutoResearch/AutoResearchTest.h
  • examples/AutoResearch/Common.h
  • src/fl/channels/README.md
  • src/fl/channels/channel.cpp.hpp
  • src/fl/channels/config.h
  • src/fl/chipsets/chipset_timing_config.h
  • src/fl/chipsets/clockless_encoder.h
  • src/fl/chipsets/led_timing.h
  • tests/fl/chipsets/ucs7604.cpp

@zackees
zackees merged commit 946b5fd into master May 12, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(channels): separate ClocklessEncoder from ChipsetTimingConfig (Design 2)

1 participant