Small flash and data saving
I need Bertrand for this change, but also testers. I removed ex_chans[] array, because I am the opinion it can be easily replaced by chans[]. According history ex_chans was there first, after that chans[] are introduced. Now we can use chans instead of ex_chans and get rid of this part to have savings. I am incorrect? My tests are all OK. The only area I can imagive this change is influenced are flight phases changes. And only if output channels are used as input. But I think this way is even better. Please test and report.
This commit is contained in:
+1
-1
@@ -1063,7 +1063,7 @@ extern uint8_t g_beepVal[5];
|
||||
extern uint8_t ppmInState; //0=unsync 1..8= wait for value i-1
|
||||
extern int16_t g_ppmIns[8];
|
||||
extern int32_t chans[NUM_CHNOUT];
|
||||
extern int16_t ex_chans[NUM_CHNOUT]; // Outputs (before LIMITS) of the last perMain
|
||||
// extern int16_t ex_chans[NUM_CHNOUT]; // Outputs (before LIMITS) of the last perMain @@@3 fsguruh
|
||||
extern int16_t g_chans512[NUM_CHNOUT];
|
||||
extern uint16_t BandGap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user