Renaming PXX / ACCESS modules constants

This commit is contained in:
Bertrand Songis
2019-05-10 23:06:48 +02:00
parent 6b032184d7
commit e77b096463
17 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void preModelLoad()
static void fixUpModel()
{
// Ensure that when rfProtocol is RF_PROTO_OFF the type of the module is MODULE_TYPE_NONE
if (g_model.moduleData[INTERNAL_MODULE].type == MODULE_TYPE_XJT && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_OFF)
if (g_model.moduleData[INTERNAL_MODULE].type == MODULE_TYPE_PXX_XJT && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_OFF)
g_model.moduleData[INTERNAL_MODULE].type = MODULE_TYPE_NONE;
}
#endif