Skip to content

Commit

Permalink
https://github.com/OpenHantek/openhantek/pull/286
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavlin committed Jun 1, 2019
1 parent eb33325 commit b75cc90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openhantek/src/hantekdso/models/modelDSO2090.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void initSpecifications(Dso::ControlSpecification& specification) {
specification.gain = { {0,0.08} , {1,0.16} , {2,0.40} , {0,0.80} ,
{1,1.60} , {2,4.00} , {0,8.00} , {1,16.00} , {2,40.00} };
specification.sampleSize = 8;
specification.specialTriggerChannels = {{"EXT", -2}, {"EXT/10", -3}};
specification.specialTriggerChannels = {{"EXT", -1}};
}

ModelDSO2090::ModelDSO2090() : DSOModel(ID, 0x04b5, 0x2090, 0x04b4, 0x2090, "dso2090x86", "DSO-2090",
Expand Down
2 changes: 1 addition & 1 deletion openhantek/src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void DsoSettings::load() {
if (store->contains("position")) scope.trigger.position = store->value("position").toDouble();
if (store->contains("slope")) scope.trigger.slope = (Dso::Slope)store->value("slope").toUInt();
if (store->contains("source")) scope.trigger.source = store->value("source").toUInt();
if (store->contains("special")) scope.trigger.special = store->value("special").toInt();
if (store->contains("special")) scope.trigger.special = store->value("special").toBool();
store->endGroup();
// Spectrum
for (ChannelID channel = 0; channel < scope.spectrum.size(); ++channel) {
Expand Down

0 comments on commit b75cc90

Please sign in to comment.