FAI CHOICE prompt asked too much

This commit is contained in:
romolo.manfredini@gmail.com
2013-07-01 15:50:31 +00:00
parent 6442950fc2
commit a03c3a849d
+1 -1
View File
@@ -555,7 +555,7 @@ void menuGeneralSetup(uint8_t event)
#if defined(FAI_CHOICE)
case ITEM_SETUP_FAI:
onoffMenuItem(g_eeGeneral.fai, RADIO_SETUP_2ND_COLUMN, y, PSTR("FAI Mode"), attr, event);
if (checkIncDec_Ret) {
if (attr && checkIncDec_Ret) {
if (g_eeGeneral.fai)
POPUP_WARNING(PSTR("FAI\001mode blocked!"));
else