merge-requests/1/head
Teuniz 2016-10-11 18:42:59 +02:00
rodzic 165a1cdf14
commit 5fe5cd8874
3 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.32_1610091854"
#define PROGRAM_VERSION "0.32_1610111840"
#define MAX_PATHLEN 4096

Wyświetl plik

@ -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()));

Wyświetl plik

@ -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))