Browse Source

Prevent switching to serial port 1 on miniRambo and such

Voinea Dragos 3 years ago
parent
commit
542677c080
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Firmware/Marlin_main.cpp

+ 2 - 0
Firmware/Marlin_main.cpp

@@ -1060,7 +1060,9 @@ void setup()
 		no_response = true; //we need confirmation by recieving PRUSA thx
 		important_status = 8;
 		prusa_statistics(8);
+#ifdef HAS_SECOND_SERIAL_PORT
 		selectedSerialPort = 1;
+#endif //HAS_SECOND_SERIAL_PORT
 		MYSERIAL.begin(BAUDRATE);
 #ifdef TMC2130
 		//increased extruder current (PFW363)