Merge pull request #520 from mkbel/MK25

Remove Rpi port menu item for MK25.
This commit is contained in:
PavelSindler 2018-03-06 11:53:37 +01:00 committed by GitHub
commit 115416dc60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3957,12 +3957,14 @@ static void lcd_settings_menu()
else { else {
MENU_ITEM(function, MSG_TEMP_CALIBRATION_ON, lcd_temp_calibration_set); MENU_ITEM(function, MSG_TEMP_CALIBRATION_ON, lcd_temp_calibration_set);
} }
#ifdef HAS_SECOND_SERIAL_PORT
if (selectedSerialPort == 0) { if (selectedSerialPort == 0) {
MENU_ITEM(function, MSG_SECOND_SERIAL_OFF, lcd_second_serial_set); MENU_ITEM(function, MSG_SECOND_SERIAL_OFF, lcd_second_serial_set);
} }
else { else {
MENU_ITEM(function, MSG_SECOND_SERIAL_ON, lcd_second_serial_set); MENU_ITEM(function, MSG_SECOND_SERIAL_ON, lcd_second_serial_set);
} }
#endif //HAS_SECOND_SERIAL
if (!isPrintPaused && !homing_flag) if (!isPrintPaused && !homing_flag)