Repository navigation
fix(test): the TINY-profile library builds again (unused parameter; ditherFrame on TINY) - #4465
Conversation
…itherFrame on TINY) `bash test --cpp` fails locally in tests/libfastled_tiny_profile (the production library built with FL_PLATFORM_HAS_TINY_MEMORY=1 for color_profile_tiny_runtime): - src/fl/audio/audio_input.cpp.hpp: the weak default platform_create_audio_input never reads `config`; -Wunused-parameter is an error since the host build made every warning one (#4432). - src/fl/channels/color_managed_source.cpp.hpp: the three-argument ColorManagedPixelSource constructor (#4452) reads detail::ditherFrame(), which is defined only off TINY -- an undefined-symbol link error. On TINY it passes phase 0; the colour pipeline is compiled out there anyway. color_profile_tiny_runtime passes; full suite and lint pass. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe change marks an unused audio configuration parameter and selects a platform-specific initial dither phase for ChangesAudio input adjustment
Dither phase adjustment
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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. Comment |
bash test --cppfails locally in tests/libfastled_tiny_profile (theproduction library built with FL_PLATFORM_HAS_TINY_MEMORY=1 for
color_profile_tiny_runtime):
platform_create_audio_input never reads
config; -Wunused-parameter isan error since the host build made every warning one (build(test): every host-build warning is an error; fix native fetch() dropping POST #4432).
ColorManagedPixelSource constructor (fix(dither): a channel's dither phase advances on presentation, not attempt (#4347) #4452) reads detail::ditherFrame(),
which is defined only off TINY -- an undefined-symbol link error. On TINY
it passes phase 0; the colour pipeline is compiled out there anyway.
color_profile_tiny_runtime passes; full suite and lint pass.
🤖 Generated with Claude Code
Summary by CodeRabbit