2019-07-23 Fred Gleason <fredg@paravelsystems.com>

* Fixed regressions that made serial device operation unreliable.
This commit is contained in:
Fred Gleason
2019-07-23 14:19:06 -04:00
parent 70c88ec498
commit c3cc94143a
29 changed files with 216 additions and 217 deletions

View File

@@ -254,16 +254,16 @@ void Quartz1::SendCommand(const char *str)
// LogLine(QString().sprintf("SENDING: %s",str));
for(int i=0;i<2;i++) {
switch(sas_porttype[i]) {
case RDMatrix::TtyPort:
sas_device[i]->writeBlock(str,strlen(str));
break;
case RDMatrix::TtyPort:
sas_device[i]->write(str,strlen(str));
break;
case RDMatrix::TcpPort:
sas_socket[i]->writeBlock(str,strlen(str));
break;
case RDMatrix::TcpPort:
sas_socket[i]->writeBlock(str,strlen(str));
break;
case RDMatrix::NoPort:
break;
case RDMatrix::NoPort:
break;
}
}
}