MixData phases is now inverted to save some flash (thanks Romolo)

Comment on DSM2 fixed in Makefile (thanks Bryan)
Bug fixed in TELEMETRY menu
This commit is contained in:
bsongis
2012-08-17 09:34:38 +00:00
parent 36c981d55f
commit 83fe77fa8e
5 changed files with 9 additions and 11 deletions
+1 -2
View File
@@ -227,7 +227,6 @@ inline void applyDefaultTemplate()
md->destCh = i;
md->weight = 100;
md->srcRaw = channel_order(i+1);
md->phases = 1;
}
STORE_MODELVARS;
@@ -2024,7 +2023,7 @@ void perOut(uint8_t tick10ms)
if (md->srcRaw==0) break;
if (!(md->phases & (1<<s_perout_flight_phase))) continue;
if (md->phases & (1<<s_perout_flight_phase)) continue;
//========== SWITCH ===============
bool sw = getSwitch(md->swtch, 1);