feat(tx16s): default calibration for 6POS (#5827)

This commit is contained in:
3djc
2025-01-27 13:52:17 +10:00
committed by GitHub
parent 2f42664053
commit 9888ef3074
5 changed files with 24 additions and 6 deletions
+9
View File
@@ -419,6 +419,15 @@ void generalDefault()
g_eeGeneral.hatsMode = HATSMODE_SWITCHABLE;
#endif
#if defined(DEFAULT_6POS_CALIB)
uint8_t defaultCalib[] = DEFAULT_6POS_CALIB;
StepsCalibData* calib = (StepsCalibData*)&g_eeGeneral.calib[DEFAULT_6POS_IDX];
for (int i = 0; i < 5; i++) {
calib->steps[i] = defaultCalib[i];
}
#endif
g_eeGeneral.chkSum = 0xFFFF;
}