diff --git a/global.h b/global.h index 170d1db..3951d26 100644 --- a/global.h +++ b/global.h @@ -35,7 +35,7 @@ #define PROGRAM_NAME "DSRemote" -#define PROGRAM_VERSION "0.40_2309141629" +#define PROGRAM_VERSION "0.41_2311302014" #define MAX_PATHLEN (1024) diff --git a/read_settings_thread.cpp b/read_settings_thread.cpp index f678c52..564ccfd 100644 --- a/read_settings_thread.cpp +++ b/read_settings_thread.cpp @@ -1325,15 +1325,19 @@ void read_settings_thread::run() { devparms->displaygrading = 50; } - else if(!strcmp(device->buf, "INF")) + else if(!strcmp(device->buf, "10")) { - devparms->displaygrading = 10000; - } - else - { - line = __LINE__; - goto GDS_OUT_ERROR; + devparms->displaygrading = 100; } + else if(!strcmp(device->buf, "INF")) + { + devparms->displaygrading = 10000; + } + else + { + line = __LINE__; + goto GDS_OUT_ERROR; + } usleep(TMC_GDS_DELAY);