fix(color): modifying model labels may corrupt model yaml files (#7709)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
philmoz
2026-08-26 19:39:45 +10:00
committed by GitHub
co-authored by philmoz Peter Feerick Claude Sonnet 5
parent ab3b90d9e5
commit 35662d02a1
29 changed files with 369 additions and 97 deletions
+4 -1
View File
@@ -715,8 +715,9 @@ PACK(struct customSwitch {
#endif
PACK(struct PartialModel {
CUST_ATTR(semver,nullptr,w_semver);
ModelHeader header;
TimerData timers[MAX_TIMERS];
ModuleData moduleData[NUM_MODULES];
});
/*
@@ -756,8 +757,10 @@ PACK(struct USBJoystickChData {
});
PACK(struct ModelData {
// Must match start of PartialModel
CUST_ATTR(semver,nullptr,w_semver);
ModelHeader header;
TimerData timers[MAX_TIMERS];
uint8_t telemetryProtocol:3;
uint8_t thrTrim:1; // Enable Throttle Trim