mirror of https://github.com/EspoTek/Labrador.git
Fixed segfault when enabling DAQ CH2
This commit is contained in:
parent
a19b5ce3fd
commit
44626f0f34
|
@ -2027,7 +2027,7 @@ void MainWindow::on_actionRecord_CH2_triggered(bool checked)
|
|||
return; //User cancelled
|
||||
}
|
||||
#endif
|
||||
output375_CH2 = new QFile(outputDir->filePath("375_CH2.csv"));
|
||||
output375_CH2 = new QFile(fileName);
|
||||
ui->controller_iso->internalBuffer375_CH2->enableFileIO(output375_CH2, daq_num_to_average, daq_max_file_size);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -221,7 +221,6 @@ private:
|
|||
QWheelEvent *wheelEmu;
|
||||
bool forceSquare = false;
|
||||
QCPItemText *textLabel;
|
||||
QDir *outputDir;
|
||||
QFile *output375_CH1, *output375_CH2, *output750;
|
||||
unsigned char caibrateStage;
|
||||
QMessageBox *calibrationMessages;
|
||||
|
|
Loading…
Reference in New Issue