fix(cpn): initialise all serialised fields in FrSkyData::clear() (#7440)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f9abdcb001
commit
8a28c4ab96
@@ -61,9 +61,11 @@ void FrSkyData::clear()
|
||||
varioCenterMin = 0; // if increment in 0.2m/s = 3.0m/s max
|
||||
varioCenterMax = 0;
|
||||
varioMax = 0;
|
||||
varioCenterSilent = false;
|
||||
mAhPersistent = 0;
|
||||
storedMah = 0;
|
||||
fasOffset = 0;
|
||||
ignoreSensorIds = false;
|
||||
for (int i=0; i<4; i++)
|
||||
screens[i].clear();
|
||||
varioSource = 0;
|
||||
|
||||
Reference in New Issue
Block a user