LaunchAPPLServer: fix printer port

This commit is contained in:
Wolfgang Thaller 2019-10-03 00:26:35 +02:00
parent 37cb3b81e8
commit e602945033

View File

@ -584,7 +584,7 @@ void ConnectionChanged()
connection = std::make_unique<SerialConnectionProvider>(0, gPrefs.baud, statusDisplay.get()); connection = std::make_unique<SerialConnectionProvider>(0, gPrefs.baud, statusDisplay.get());
break; break;
case Port::printerPort: case Port::printerPort:
connection = std::make_unique<SerialConnectionProvider>(0, gPrefs.baud, statusDisplay.get()); connection = std::make_unique<SerialConnectionProvider>(1, gPrefs.baud, statusDisplay.get());
break; break;
#endif #endif
#ifdef HAVE_OPENTRANSPORT #ifdef HAVE_OPENTRANSPORT