From a207f5f625025dd9c5b678ad4333ae437d2a2915 Mon Sep 17 00:00:00 2001 From: WakA Date: Sun, 24 Mar 2024 14:39:33 +0100 Subject: [PATCH] Fix voltageScale to correct indices --- openhantek/src/hantekdso/models/modelISDS205b.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhantek/src/hantekdso/models/modelISDS205b.cpp b/openhantek/src/hantekdso/models/modelISDS205b.cpp index 32e3e27e..0ae96adb 100644 --- a/openhantek/src/hantekdso/models/modelISDS205b.cpp +++ b/openhantek/src/hantekdso/models/modelISDS205b.cpp @@ -46,7 +46,7 @@ static void initSpecifications( Dso::ControlSpecification &specification ) { // Theoretical values: 4096. , 4096. , 4096. , 125.44, 51.2 , 28.16, 28.16, 28.16 specification.voltageScale[ 0 ] = { 1330, 1330,1330, 85.36, 37.48, 21.78, 21.78, 21.78 }; //digit/V - Channel 1 - specification.voltageScale[ 0 ] = { 1330, 1330,1330, 85.36, 37.48, 21.78, 21.78, 21.78 }; //digit/V - Channel 2 + specification.voltageScale[ 1 ] = { 1330, 1330,1330, 85.36, 37.48, 21.78, 21.78, 21.78 }; //digit/V - Channel 2 // Gain and offset can be corrected by individual config values from EEPROM or file