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:
@@ -422,8 +422,9 @@ void modelDefault(uint8_t id)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||
g_model.moduleData[INTERNAL_MODULE].type = MODULE_TYPE_XJT;
|
||||
g_model.moduleData[INTERNAL_MODULE].channelsCount = DEFAULT_CHANNELS(INTERNAL_MODULE);
|
||||
#elif defined(PCBSKY9X)
|
||||
g_model.moduleData[EXTERNAL_MODULE].type = MODULE_TYPE_PPM;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user