Fixed bug whereby CSV file was corrupted.

When Device was not available, Realtime was creating a corrupted CSV.
If Device is not availble at startup, the ride file is removed.
This commit is contained in:
Justin Knotzke
2010-11-25 09:00:57 -05:00
parent 0d3caf923a
commit d259f1dbf8
6 changed files with 22 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ ANTplusController::getRealtimeData(RealtimeData &rtData)
msgBox.setText("Cannot Connect to Quarqd");
msgBox.setIcon(QMessageBox::Critical);
msgBox.exec();
parent->Stop();
parent->Stop(1);
return;
}
// get latest telemetry