PXX updates + optimizations pulled from er9x
FrSky TELEMETRY menu is now moved to [DOWN long] Function added to reach the TELEMETRY screen when a switch is enabled Main view optimizations
This commit is contained in:
@@ -65,6 +65,8 @@ uint8_t heartbeat;
|
||||
|
||||
int8_t safetyCh[NUM_CHNOUT];
|
||||
|
||||
union ReusableBuffer reusableBuffer;
|
||||
|
||||
const pm_char s_charTab[] PROGMEM = "_-.,";
|
||||
|
||||
const pm_uint8_t bchout_ar[] PROGMEM = {
|
||||
@@ -928,6 +930,16 @@ void resetTimer(uint8_t idx)
|
||||
s_timerVal_10ms[idx] = 0 ;
|
||||
}
|
||||
|
||||
void resetAll()
|
||||
{
|
||||
// TODO s_traceCnt to be reset?
|
||||
resetTimer(0);
|
||||
resetTimer(1);
|
||||
#ifdef FRSKY
|
||||
resetTelemetry();
|
||||
#endif
|
||||
}
|
||||
|
||||
static uint8_t lastSwPos[2] = {0, 0};
|
||||
static uint16_t s_cnt[2] = {0, 0};
|
||||
static uint16_t s_sum[2] = {0, 0};
|
||||
|
||||
Reference in New Issue
Block a user