]> sigrok.org Git - pulseview.git/blobdiff - pv/dialogs/connect.cpp
ViewItemPaintParams: Fixed height()
[pulseview.git] / pv / dialogs / connect.cpp
index 5535f46d7d87a28797d50b670ab54606b05df11a..f7b0fc76004b9bf7e95b09aff53371b0f7deb5ac 100644 (file)
@@ -22,9 +22,9 @@
 
 #include <libsigrok/libsigrok.hpp>
 
-#include "connect.h"
+#include "connect.hpp"
 
-#include "pv/devicemanager.h"
+#include "pv/devicemanager.hpp"
 
 using std::list;
 using std::map;
@@ -104,7 +104,9 @@ void Connect::populate_drivers()
                 * and sensors.
                 */
                bool supported_device = driver->config_check(
-                       ConfigKey::SAMPLERATE, ConfigKey::DEVICE_OPTIONS);
+                       ConfigKey::LOGIC_ANALYZER, ConfigKey::DEVICE_OPTIONS) |
+                                       driver->config_check(
+                       ConfigKey::OSCILLOSCOPE, ConfigKey::DEVICE_OPTIONS);
 
                if (supported_device)
                        drivers_.addItem(QString("%1 (%2)").arg(