You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update code to use new board/watchdog APIs and adjust related RDM/pixel logic:
- Replace gd32-specific headers and calls with new modules: gd32/hal_watchdog.h -> watchdog.h, hal_boardinfo.h -> board.h; hal::WatchdogInit/Feed -> watchdog::Init/Feed; hal::BoardName -> board::BoardName.
- Use updated DMX enum: dmx::PortDirection::kInput -> dmx::Direction::kInput.
- RDM responder changes: instantiate PixelTestPattern earlier and use GetPattern() consistently when calling common::firmware::pixeldmx::Show; rename RDMPersonality -> RdmPersonality; use rdm::personality::kDescriptionMaxLength for description buffer.
- Simplify and reorder PersonalityUpdate logic to reuse the test pattern, update display handling, and ensure PixelOutputType configuration is applied correctly.
- Minor formatting/brace adjustments and a small signature/style tweak in DmxStartAddressUpdate.
These changes align the code with renamed APIs and improve consistency in pixel test pattern handling and RDM personality setup.
printf("[V%s] %s Compiled on %s at %s\n", kSoftwareVersion, hal::BoardName(hw_text_length), __DATE__, __TIME__);
71
+
printf("[V%s] %s Compiled on %s at %s\n", kSoftwareVersion, board::BoardName(hw_text_length), __DATE__, __TIME__);
72
72
printf("RDM Controller with USB [Compatible with Enttec USB Pro protocol], Widget mode : %d (%s)\n", kWidgetMode, kWidgetModeNames[static_cast<uint32_t>(kWidgetMode)]);
0 commit comments