Spaces removed
This commit is contained in:
+3
-8
@@ -2374,13 +2374,9 @@ void perOut(uint8_t mode, uint8_t tick10ms)
|
|||||||
v = getValue(k <= MIXSRC_3POS ? k : k - MAX_SWITCH);
|
v = getValue(k <= MIXSRC_3POS ? k : k - MAX_SWITCH);
|
||||||
if (k >= MIXSRC_CH1 - 1 && k <= MIXSRC_CHMAX - 1
|
if (k >= MIXSRC_CH1 - 1 && k <= MIXSRC_CHMAX - 1
|
||||||
&& md->destCh != k - MIXSRC_CH1 + 1) {
|
&& md->destCh != k - MIXSRC_CH1 + 1) {
|
||||||
if (dirtyChannels
|
if (dirtyChannels & ((bitfield_channels_t) 1 << (k-MIXSRC_CH1+1)) & (passDirtyChannels|~(((bitfield_channels_t) 1 << md->destCh)-1)))
|
||||||
& ((bitfield_channels_t) 1 << (k - MIXSRC_CH1 + 1))
|
passDirtyChannels |= (bitfield_channels_t) 1 << md->destCh;
|
||||||
& (passDirtyChannels
|
if (k - MIXSRC_CH1 + 1 < md->destCh || pass > 0) v = chans[k-MIXSRC_CH1+1] / 100;
|
||||||
| ~(((bitfield_channels_t) 1 << md->destCh) - 1))) passDirtyChannels |=
|
|
||||||
(bitfield_channels_t) 1 << md->destCh;
|
|
||||||
if (k - MIXSRC_CH1 + 1 < md->destCh || pass > 0) v = chans[k
|
|
||||||
- MIXSRC_CH1 + 1] / 100;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -2663,7 +2659,6 @@ FORCEINLINE void doMixerCalculations()
|
|||||||
int32_t q = (s_fade_flight_phases ? (sum_chans512[i] / weight) * 16 : chans[i]);
|
int32_t q = (s_fade_flight_phases ? (sum_chans512[i] / weight) * 16 : chans[i]);
|
||||||
ex_chans[i] = q / 100; // for the next perMain
|
ex_chans[i] = q / 100; // for the next perMain
|
||||||
|
|
||||||
|
|
||||||
int16_t value = applyLimits(i, q);
|
int16_t value = applyLimits(i, q);
|
||||||
|
|
||||||
cli();
|
cli();
|
||||||
|
|||||||
Reference in New Issue
Block a user