From c1bc36846cdf51739ac6f3a734da9c7b7b33dff7 Mon Sep 17 00:00:00 2001 From: Teuniz Date: Mon, 12 Sep 2016 19:54:08 +0200 Subject: [PATCH] Bugfix: trigger source: accept "AC" and "ACL" for powerline trigger source. --- global.h | 2 +- mainwindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/global.h b/global.h index e7d74a6..88bed17 100644 --- a/global.h +++ b/global.h @@ -35,7 +35,7 @@ #define PROGRAM_NAME "DSRemote" -#define PROGRAM_VERSION "0.32_1608240949" +#define PROGRAM_VERSION "0.32_1609121952" #define MAX_PATHLEN 4096 diff --git a/mainwindow.cpp b/mainwindow.cpp index 7569d6f..cf79bce 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1347,8 +1347,8 @@ int UI_Mainwindow::get_device_settings() else if(!strcmp(device->buf, "EXT5")) { devparms.triggeredgesource = 5; - } - else if(!strcmp(device->buf, "ACL")) + } // DS1000Z: "AC", DS6000: "ACL" !! + else if((!strcmp(device->buf, "AC")) || (!strcmp(device->buf, "ACL"))) { devparms.triggeredgesource = 6; }