diff --git a/src/model_menus.cpp b/src/model_menus.cpp index e6499f09f..658a4c780 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -562,6 +562,7 @@ void menuProcModel(uint8_t event) } } +#if defined(PXX) if (g_model.protocol == PROTO_PXX) { lcd_putsAtt(PARAM_OFS, y, STR_SYNCMENU, ((sub==subN && m_posHorz==1) ? INVERS : 0)); if (sub==subN && m_posHorz==1) { @@ -573,6 +574,7 @@ void menuProcModel(uint8_t event) } } } +#endif } #endif } diff --git a/src/open9x.cpp b/src/open9x.cpp index ba8f41e66..945f59fbf 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -2333,9 +2333,9 @@ int main(void) uint8_t cModel = g_eeGeneral.currModel; #if defined (PCBV3) - if (~MCUSR & (1 << WDRF)) { + if (MCUSR != (1 << PORF)) { #else - if (~MCUCSR & (1 << WDRF)) { + if (MCUCSR != (1 << PORF)) { #endif #ifdef SPLASH