Remove some changes that only applied in a very specific circumstance, remove prototype and non general purpose entries from menus (you won't miss them)

This commit is contained in:
Collin Kidder
2018-04-23 20:28:12 -04:00
parent 1659e37be4
commit 827754aa1c
4 changed files with 62 additions and 8 deletions
+6 -6
View File
@@ -303,17 +303,17 @@ void GVRetSerial::connectDevice()
/* configure */
serial->setDataBits(serial->Data8);
//serial->setFlowControl(serial->HardwareControl); //this is important though
serial->setFlowControl(serial->NoFlowControl);
serial->setFlowControl(serial->HardwareControl); //this is important though
//serial->setFlowControl(serial->NoFlowControl);
serial->setBaudRate(1000000);
if (!serial->open(QIODevice::ReadWrite))
{
qDebug() << serial->errorString();
}
serial->setDataTerminalReady(false); //you do need to set these or the fan gets dirty
serial->setRequestToSend(false);
//serial->setDataTerminalReady(true); //you do need to set these or the fan gets dirty
//serial->setRequestToSend(true);
//serial->setDataTerminalReady(false); //you do need to set these or the fan gets dirty
//serial->setRequestToSend(false);
serial->setDataTerminalReady(true); //you do need to set these or the fan gets dirty
serial->setRequestToSend(true);
debugOutput("Opened Serial Port");
/* connect reading event */