correction

This commit is contained in:
PavelSindler 2018-03-23 18:20:55 +01:00
parent 2d30261976
commit dc32bd24fc

View file

@ -1695,7 +1695,7 @@ static void lcd_menu_temperatures()
}
}
#if defined VOLT_BED_PIN || defined VOLT_PWR_PIN
#if defined (VOLT_BED_PIN) || defined (VOLT_PWR_PIN)
#define VOLT_DIV_R1 10000
#define VOLT_DIV_R2 2370
#define VOLT_DIV_FAC ((float)VOLT_DIV_R2 / (VOLT_DIV_R2 + VOLT_DIV_R1))
@ -1824,7 +1824,7 @@ static void lcd_support_menu()
MENU_ITEM(submenu, MSG_MENU_TEMPERATURES, lcd_menu_temperatures);
#if defined VOLT_BED_PIN || defined VOLT_BED_PIN
#if defined (VOLT_BED_PIN) || defined (VOLT_BED_PIN)
MENU_ITEM(submenu, MSG_MENU_VOLTAGES, lcd_menu_voltages);
#endif //defined VOLT_BED_PIN || defined VOLT_BED_PIN