kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Accept value "10" for display grading.
rodzic
278e70b662
commit
9d8cdc9a3d
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define PROGRAM_NAME "DSRemote"
|
#define PROGRAM_NAME "DSRemote"
|
||||||
#define PROGRAM_VERSION "0.40_2309141629"
|
#define PROGRAM_VERSION "0.41_2311302014"
|
||||||
|
|
||||||
#define MAX_PATHLEN (1024)
|
#define MAX_PATHLEN (1024)
|
||||||
|
|
||||||
|
|
|
@ -1325,15 +1325,19 @@ void read_settings_thread::run()
|
||||||
{
|
{
|
||||||
devparms->displaygrading = 50;
|
devparms->displaygrading = 50;
|
||||||
}
|
}
|
||||||
else if(!strcmp(device->buf, "INF"))
|
else if(!strcmp(device->buf, "10"))
|
||||||
{
|
{
|
||||||
devparms->displaygrading = 10000;
|
devparms->displaygrading = 100;
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
line = __LINE__;
|
|
||||||
goto GDS_OUT_ERROR;
|
|
||||||
}
|
}
|
||||||
|
else if(!strcmp(device->buf, "INF"))
|
||||||
|
{
|
||||||
|
devparms->displaygrading = 10000;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
line = __LINE__;
|
||||||
|
goto GDS_OUT_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
usleep(TMC_GDS_DELAY);
|
usleep(TMC_GDS_DELAY);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue