Compilation fix
This commit is contained in:
@@ -1541,7 +1541,7 @@ void menuModelSetup(event_t event)
|
||||
if (isModuleR9M(moduleIdx) || (isModuleXJT(moduleIdx) && g_model.moduleData[moduleIdx].rfProtocol== RF_PROTO_X16)) {
|
||||
#if defined(PCBXLITE)
|
||||
if (EVT_KEY_MASK(event) == KEY_ENTER) {
|
||||
#elif defined(PCBSKY9X) || defined(AR9X)
|
||||
#elif defined(PCBSKY9X) || defined(PCBAR9X)
|
||||
if (event == EVT_KEY_FIRST(KEY_ENTER)) {
|
||||
#else
|
||||
if (event == EVT_KEY_BREAK(KEY_ENTER)) {
|
||||
|
||||
@@ -179,12 +179,6 @@ bool isSourceAvailable(int source)
|
||||
return IS_POT_SLIDER_AVAILABLE(POT1+source-MIXSRC_FIRST_POT);
|
||||
}
|
||||
|
||||
#if defined(PCBSKY9X) && defined(REVX)
|
||||
if (source == MIXSRC_REa) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBX10)
|
||||
if ((source>=MIXSRC_S3 && source<=MIXSRC_S4) || (source>=MIXSRC_MOUSE1 && source<=MIXSRC_MOUSE2))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user