MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / closeCsvFile

Method closeCsvFile

mainwindow.cpp:830–836  ·  view source on GitHub ↗

* @brief Open a new CSV file to save received data * */

Source from the content-addressed store, hash-verified

828 *
829 */
830void MainWindow::closeCsvFile(void)
831{
832 if(!m_csvFile) return;
833 m_csvFile->close();
834 if(m_csvFile) delete m_csvFile;
835 m_csvFile = nullptr;
836}
837/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
838
839/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected