feat(visual): replace LED managers with LEDC-driven drivers#435
feat(visual): replace LED managers with LEDC-driven drivers#435
Conversation
Resolve merge conflicts keeping MonoLedDriver/RgbLedDriver renames while adopting develop's improvements: atomic state flags, cooperative task shutdown, SimpleMutex wrappers, EStopState::ActiveClearing, IP event handler, CSR_PATTERN macro, and thread-safe gateway connection management. Fix MonoLedDriver LEDC speed mode to be chip-agnostic (SOC_LEDC_SUPPORT_HS_MODE), add missing ledc_update_duty call, and correct FnProxy usage (no address-of on variable template). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 307fc02 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Cpp-Linter Report
|
…tdown Add serial command `ledtest` that cycles through: - Mono LED PWM brightness sweep (up/down) - RGB LED color test (R/G/B/white, rainbow cycle, brightness sweep) - All visual state patterns (WiFi, WS, E-Stop states, critical error) Fix cooperative task shutdown in both LED drivers by chunking long vTaskDelay calls into 50ms intervals, allowing m_stopRequested to be checked promptly instead of force-killing tasks after timeout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Test plan