Added the DS1102Z-E to the list of accepted models. Not tested!

merge-requests/1/merge
Teuniz 2021-02-17 19:21:06 +01:00
rodzic 6de2d9ae72
commit 3899af54d3
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.37_2101311806"
#define PROGRAM_VERSION "0.37_2102171920"
#define MAX_PATHLEN 1024

Wyświetl plik

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