Ver código fonte

Merge pull request #520 from mkbel/MK25

Remove Rpi port menu item for MK25.
PavelSindler 7 anos atrás
pai
commit
115416dc60
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Firmware/ultralcd.cpp

+ 2 - 0
Firmware/ultralcd.cpp

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