projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b454306
)
Device: Fix bug introduced by b48daed which broke analog channels
author
Soeren Apel
<soeren@apelpie.net>
Sat, 27 Jun 2015 11:31:35 +0000
(13:31 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 27 Jun 2015 11:31:35 +0000
(13:31 +0200)
pv/devices/device.cpp
patch
|
blob
|
history
diff --git
a/pv/devices/device.cpp
b/pv/devices/device.cpp
index 4027a1c2d820a35ba248e312f3d066af789df620..e33d27af08d1013da9c40c4f6440cf444cdd6922 100644
(file)
--- a/
pv/devices/device.cpp
+++ b/
pv/devices/device.cpp
@@
-73,7
+73,7
@@
T Device::read_config(const ConfigKey *key, const T default_value)
const auto iter = keys.find(key);
if (iter == keys.end() ||
- (*iter).second.find(sigrok::GET)
!
= (*iter).second.end())
+ (*iter).second.find(sigrok::GET)
=
= (*iter).second.end())
return default_value;
return VariantBase::cast_dynamic<Variant<T>>(