diff --git a/global.h b/global.h index 0f7850d..a97a03b 100644 --- a/global.h +++ b/global.h @@ -35,7 +35,7 @@ #define PROGRAM_NAME "DSRemote" -#define PROGRAM_VERSION "0.32_1610091854" +#define PROGRAM_VERSION "0.32_1610111840" #define MAX_PATHLEN 4096 diff --git a/mainwindow.cpp b/mainwindow.cpp index f23e17a..7986149 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -574,7 +574,7 @@ int UI_Mainwindow::get_device_settings() char str[4096] = {""}; - statusLabel->setText("Reading settings from device..."); + statusLabel->setText("Reading instrument settings..."); read_settings_thread rd_set_thrd; rd_set_thrd.set_device(device); @@ -583,7 +583,7 @@ int UI_Mainwindow::get_device_settings() QMessageBox msgBox; msgBox.setIcon(QMessageBox::NoIcon); - msgBox.setText("Reading settings from device..."); + msgBox.setText("Reading instrument settings..."); msgBox.addButton("Abort", QMessageBox::RejectRole); connect(&rd_set_thrd, SIGNAL(finished()), &msgBox, SLOT(accept())); diff --git a/tmc_lan.c b/tmc_lan.c index da2b859..49e8234 100644 --- a/tmc_lan.c +++ b/tmc_lan.c @@ -236,6 +236,8 @@ int tmclan_write(struct tmcdev *tmc_device __attribute__ ((unused)), const char printf("tmc_lan write: %s", buf); } + if(!strncmp(buf, "*RST", 4)) qry = 1; + n = tmclan_send(buf); if(n != (len + 1))