fix sky9x compilation

This commit is contained in:
romolo.manfredini@gmail.com
2013-04-14 21:57:28 +00:00
parent 37cc13c140
commit 471511c24c
+2 -2
View File
@@ -425,12 +425,12 @@ void setupPulsesPXX(MODULE_INDEX_PARAM)
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
flag1 = (g_model.moduleData[module_index].rfProtocol << 6) | (g_eeGeneral.countryCode << 1) | pxxFlag[module_index]; flag1 = (g_model.moduleData[module_index].rfProtocol << 6) | (g_eeGeneral.countryCode << 1) | pxxFlag[module_index];
} }
else { else {
flag1 = (g_model.moduleData[module_index].rfProtocol << 6) | pxxFlag[0]; flag1 = (g_model.moduleData[module_index].rfProtocol << 6) | pxxFlag[0];
#else #else
flag1 = (g_model.moduleData[0].rfProtocol << 6) | (g_eeGeneral.countryCode << 1) | pxxFlag[module_index]; flag1 = (g_model.moduleData[0].rfProtocol << 6) | (g_eeGeneral.countryCode << 1) | pxxFlag[0];
} }
else { else {
flag1 = (g_model.moduleData[0].rfProtocol << 6) | pxxFlag[0]; flag1 = (g_model.moduleData[0].rfProtocol << 6) | pxxFlag[0];