X7 : assume R9M is PXX2

This commit is contained in:
3djc
2019-02-19 10:12:33 +01:00
parent fdaed515fc
commit 66a4276fb3
6 changed files with 101 additions and 51 deletions
+1 -1
View File
@@ -463,7 +463,7 @@ void modelDefault(uint8_t id)
#endif
#if defined(PCBTARANIS) || defined(PCBHORUS)
g_model.moduleData[INTERNAL_MODULE].type = IS_PXX2_ENABLED() ? MODULE_TYPE_XJT2 : MODULE_TYPE_XJT;
g_model.moduleData[INTERNAL_MODULE].type = IS_PXX2_INTERNAL_ENABLED() ? MODULE_TYPE_XJT2 : MODULE_TYPE_XJT;
g_model.moduleData[INTERNAL_MODULE].channelsCount = defaultModuleChannels_M8(INTERNAL_MODULE);
#elif defined(PCBSKY9X)
g_model.moduleData[EXTERNAL_MODULE].type = MODULE_TYPE_PPM;