1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00
This commit is contained in:
bsongis 2014-08-04 11:38:39 +02:00
parent cf9b5d05a8
commit 35aea83c89

View file

@ -446,6 +446,14 @@ void modelDefault(uint8_t id)
checkModelIdUnique(id);
#endif
#if defined(CPUARM) && defined(FLIGHT_MODES) && defined(GVARS)
for (int p=1; p<MAX_FLIGHT_MODES; p++) {
for (int i=0; i<MAX_GVARS; i++) {
g_model.flightModeData[p].gvars[i] = GVAR_MAX+1;
}
}
#endif
#if defined(PCBTARANIS)
g_model.frsky.channels[0].ratio = 132;
#endif