From f970045457da38a1ca98fbc8a26394b5bc50ea00 Mon Sep 17 00:00:00 2001 From: Teuniz Date: Tue, 20 Sep 2016 08:24:57 +0200 Subject: [PATCH] Assignment of non-DS1000Z parameter was placed outside of if statement. --- global.h | 2 +- mainwindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/global.h b/global.h index c6dc601..75c8b70 100644 --- a/global.h +++ b/global.h @@ -35,7 +35,7 @@ #define PROGRAM_NAME "DSRemote" -#define PROGRAM_VERSION "0.32_1609181000" +#define PROGRAM_VERSION "0.32_1609200823" #define MAX_PATHLEN 4096 diff --git a/mainwindow.cpp b/mainwindow.cpp index 4508bd9..bef873f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -968,9 +968,9 @@ int UI_Mainwindow::get_device_settings() line = __LINE__; goto OUT_ERROR; } - } - devparms.timebasehrefpos = atoi(device->buf); + devparms.timebasehrefpos = atoi(device->buf); + } usleep(TMC_GDS_DELAY);