kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Bug fix.
rodzic
165a1cdf14
commit
5fe5cd8874
2
global.h
2
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
|
||||
|
||||
|
|
|
@ -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()));
|
||||
|
|
|
@ -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))
|
||||
|
|
Ładowanie…
Reference in New Issue