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
Removes a duplicate `board.h` include and tidies static constant declarations in `main.cpp`. It also updates widget mode logging to use `%u` with an unsigned cast, avoiding signed/enum format mismatches when printing `kWidgetMode`.
.data = const_cast<char*>("GD32F103RC DMX USB Pro"),
45
+
.length = 22
46
+
};
47
+
48
+
intmain() { // NOLINT
52
49
board::Init();
53
50
ConfigStore config_store;
54
51
@@ -69,7 +66,7 @@ int main() // NOLINT
69
66
70
67
uint8_t hw_text_length;
71
68
printf("[V%s] %s Compiled on %s at %s\n", kSoftwareVersion, board::BoardName(hw_text_length), __DATE__, __TIME__);
72
-
printf("RDM Controller with USB [Compatible with Enttec USB Pro protocol], Widget mode : %d (%s)\n", kWidgetMode, kWidgetModeNames[static_cast<uint32_t>(kWidgetMode)]);
69
+
printf("RDM Controller with USB [Compatible with Enttec USB Pro protocol], Widget mode : %u (%s)\n", static_cast<unsigned>(kWidgetMode), kWidgetModeNames[static_cast<unsigned>(kWidgetMode)]);
0 commit comments