merge-requests/3/merge
Teuniz 2020-12-07 09:36:50 +01:00
commit c43d3265ef
3 zmienionych plików z 56 dodań i 44 usunięć

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.37_2012070931"
#define PROGRAM_VERSION "0.37_2008071327"
#define MAX_PATHLEN 1024

Wyświetl plik

@ -1214,6 +1214,15 @@ void UI_Mainwindow::get_device_model(const char *str)
devparms.modelserie = 1;
}
if(!strcmp(str, "DS1202Z-E"))
{
devparms.channel_cnt = 2;
devparms.bandwidth = 200;
devparms.modelserie = 1;
}
if(devparms.modelserie == 1)
{
if(devparms.use_extra_vertdivisions) devparms.vertdivisions = 10;

Wyświetl plik

@ -1760,6 +1760,8 @@ void read_settings_thread::run()
devparms->math_decode_threshold[1] = atof(device->buf);
if(devparms->channel_cnt == 4)
{
usleep(TMC_GDS_DELAY);
if(devparms->modelserie != 1)
@ -1813,6 +1815,7 @@ void read_settings_thread::run()
}
devparms->math_decode_threshold[3] = atof(device->buf);
}
if(devparms->modelserie != 1)
{