Change default at model creation from XJT-D16 8CH to XJT-D16 16CH on … (#3913)
* Change default at model creation from XJT-D16 8CH to XJT-D16 16CH on Taranis and Horus * Set defaultto 16CH also on protocol change * External module on Taranis * MACRO's are good for you * They are so good they should be used everywhere ! * And everywhere also includes the 9X UIs!
This commit is contained in:
@@ -440,6 +440,7 @@ void memswap(void * a, void * b, uint8_t size);
|
||||
#define MAX_CHANNELS(idx) (idx==EXTERNAL_MODULE ? MAX_EXTERNAL_MODULE_CHANNELS() : MAX_TRAINER_CHANNELS_M8())
|
||||
#define NUM_CHANNELS(idx) (8+g_model.moduleData[idx].channelsCount)
|
||||
#endif
|
||||
#define DEFAULT_CHANNELS(idx) (IS_MODULE_PPM(idx) ? 0 : MAX_CHANNELS(idx))
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define MASK_CFN_TYPE uint64_t // current max = 64 function switches
|
||||
|
||||
Reference in New Issue
Block a user