kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Work in progress.
rodzic
1cad5f3738
commit
b112ee5add
2
global.h
2
global.h
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define PROGRAM_NAME "DSRemote"
|
#define PROGRAM_NAME "DSRemote"
|
||||||
#define PROGRAM_VERSION "0.11_1506161158"
|
#define PROGRAM_VERSION "0.11_1506161844"
|
||||||
|
|
||||||
#define MAX_PATHLEN 4096
|
#define MAX_PATHLEN 4096
|
||||||
|
|
||||||
|
|
|
@ -2070,6 +2070,13 @@ void UI_Mainwindow::clearButtonClicked()
|
||||||
|
|
||||||
void UI_Mainwindow::autoButtonClicked()
|
void UI_Mainwindow::autoButtonClicked()
|
||||||
{
|
{
|
||||||
|
if((device == NULL) || (!devparms.connected))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrn_timer->stop();
|
||||||
|
|
||||||
statusLabel->setText("Auto settings");
|
statusLabel->setText("Auto settings");
|
||||||
|
|
||||||
tmcdev_write(device, ":AUT");
|
tmcdev_write(device, ":AUT");
|
||||||
|
@ -2083,6 +2090,8 @@ void UI_Mainwindow::autoButtonClicked()
|
||||||
sleep(2);
|
sleep(2);
|
||||||
|
|
||||||
get_device_settings();
|
get_device_settings();
|
||||||
|
|
||||||
|
scrn_timer->start(SCREEN_TIMER_IVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue