Fix `Fsensor detection` to be found as missing in `not_tran.txt`

This commit is contained in:
3d-gussner 2020-05-15 15:12:22 +02:00
parent aaccc6e7d7
commit 614b22d774
3 changed files with 3 additions and 1 deletions

View File

@ -142,6 +142,7 @@ const char MSG_AUTO[] PROGMEM_I1 = ISTR("Auto"); ////c=6
// Beware - the space at the beginning is necessary since it is reused in LCD menu items which are to be with a space
const char MSG_04_OR_NEWER[] PROGMEM_I1 = ISTR(" 0.4 or newer");////c=18
const char MSG_03_OR_OLDER[] PROGMEM_I1 = ISTR(" 0.3 or older");////c=18
const char MSG_FSENSOR_DETECTION[] PROGMEM_I1 = ISTR("Fsensor Detection");////c=18
#endif
//not internationalized messages

View File

@ -141,6 +141,7 @@ extern const char MSG_AUTO[];
#ifdef IR_SENSOR_ANALOG
extern const char MSG_04_OR_NEWER[];
extern const char MSG_03_OR_OLDER[];
extern const char MSG_FSENSOR_DETECTION[];
#endif
//not internationalized messages

View File

@ -5725,7 +5725,7 @@ void lcd_hw_setup_menu(void) // can not be "static"
#ifdef IR_SENSOR_ANALOG
FSENSOR_ACTION_NA;
MENU_ITEM_FUNCTION_P(PSTR("Fsensor Detection"), lcd_detect_IRsensor);
MENU_ITEM_FUNCTION_P(_T(MSG_FSENSOR_DETECTION), lcd_detect_IRsensor); ////MSG_FSENSOR_DETECTION c=18
#endif //IR_SENSOR_ANALOG
MENU_END();
}