diff --git a/docs/open9x manual francais.pdf b/docs/open9x manual francais.pdf deleted file mode 100644 index c772e2855..000000000 Binary files a/docs/open9x manual francais.pdf and /dev/null differ diff --git a/src/frsky.cpp b/src/frsky.cpp index 5e421ffd9..ed110e079 100644 --- a/src/frsky.cpp +++ b/src/frsky.cpp @@ -635,6 +635,8 @@ void resetTelemetry() frskyHubData.gpsLatitude_ap = 7455; frskyHubData.gpsLongitude_bp = 1006; frskyHubData.gpsLongitude_ap = 9533; + frskyHubData.gpsFix = 1; + frskyHubData.cellsCount = 6; #endif } diff --git a/src/model_menus.cpp b/src/model_menus.cpp index 98aa628b6..f37763c6d 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -1119,28 +1119,28 @@ inline void editExpoVals(uint8_t event, uint8_t which, bool edit, uint8_t y, uin if (edit) CHECK_INFLIGHT_INCDEC_MODELVAR(event, ed->expo, -100, 100, 0, STR_DREXPO); break; case 2: + putsCurve(6*FW+5, y, ed->curve+(ed->curve >= CURVE_BASE+4 ? 4 : 0), invBlk); + if (invBlk) CHECK_INCDEC_MODELVAR(event, ed->curve, 0, 15); + if (invBlk && ed->curve>=CURVE_BASE && event==EVT_KEY_FIRST(KEY_MENU)) { + s_curveChan = ed->curve - (ed->curve >= CURVE_BASE+4 ? CURVE_BASE-4 : CURVE_BASE); + pushMenu(menuProcCurveOne); + } + break; + case 3: { int8_t phase = ed->negPhase ? -ed->phase : +ed->phase; putsFlightPhase(6*FW+5, y, phase, invBlk); if(edit) { phase = checkIncDecModel(event, phase, -MAX_PHASES, MAX_PHASES); ed->negPhase = (phase < 0); ed->phase = abs(phase); } } break; - case 3: + case 4: putsSwitches(6*FW+5, y, ed->swtch, invBlk); if(edit) CHECK_INCDEC_MODELVAR(event, ed->swtch, -MAX_DRSWITCH, MAX_DRSWITCH); break; - case 4: + case 5: lcd_putsiAtt(6*FW+5, y, STR_VWHEN, 3-ed->mode, invBlk); if(edit) ed->mode = 4 - checkIncDecModel(event, 4-ed->mode, 1, 3); break; - case 5: - putsCurve(6*FW+5, y, ed->curve+(ed->curve >= CURVE_BASE+4 ? 4 : 0), invBlk); - if(invBlk) CHECK_INCDEC_MODELVAR(event, ed->curve, 0, 15); - if(invBlk && ed->curve>=CURVE_BASE && event==EVT_KEY_FIRST(KEY_MENU)) { - s_curveChan = ed->curve - (ed->curve >= CURVE_BASE+4 ? CURVE_BASE-4 : CURVE_BASE); - pushMenu(menuProcCurveOne); - } - break; } } @@ -1547,7 +1547,7 @@ void menuProcMixAll(uint8_t event) void menuProcLimits(uint8_t event) { - MENU(STR_MENULIMITS, menuTabModel, e_Limits, NUM_CHNOUT+1, {0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}); + MENU(STR_MENULIMITS, menuTabModel, e_Limits, NUM_CHNOUT+1, {0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}); int8_t sub = m_posVert - 1; diff --git a/src/open9x.cpp b/src/open9x.cpp index 6a2649a71..638af6d56 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1207,7 +1207,7 @@ void perOut(int16_t *chanOut, uint8_t phase) //========== MIXER LOOP =============== mixWarning = 0; - for(uint8_t i=0; i