@@ -124,9 +124,7 @@ bool OnixSource::configureDevice(OnixDeviceVector& sources,
124124 LOGD (" Difference in names found for device at address " , deviceIdx, " . Found " , deviceName, " on " , hubName, " , but was expecting " , device->getName (), " on " , device->getHubName ());
125125 }
126126 }
127- else if (device->getDeviceType () == OnixDeviceType::HEARTBEAT ||
128- device->getDeviceType () == OnixDeviceType::PERSISTENTHEARTBEAT ||
129- device->getDeviceType () == OnixDeviceType::MEMORYMONITOR)
127+ else if (device->getDeviceType () == OnixDeviceType::MEMORYMONITOR)
130128 {// NB: These are devices with no equivalent settings tab that still need to be created and added to the vector of devices
131129 LOGD (" Creating new device " , deviceName, " on " , hubName);
132130 device = std::make_shared<Device>(deviceName, hubName, deviceIdx, ctx);
@@ -296,13 +294,6 @@ bool OnixSource::initializeDevices(device_map_t deviceTable, bool updateStreamIn
296294 hubNames.insert ({ hubIndex, BREAKOUT_BOARD_NAME });
297295 auto canvas = editor->getCanvas ();
298296
299- devicesFound = configureDevice<PersistentHeartbeat>(sources, canvas, " Heartbeat" , BREAKOUT_BOARD_NAME, PersistentHeartbeat::getDeviceType (), hubIndex, context);
300- if (!devicesFound)
301- {
302- sources.clear ();
303- return false ;
304- }
305-
306297 devicesFound = configureDevice<OutputClock>(sources, canvas, " Output Clock" , BREAKOUT_BOARD_NAME, OutputClock::getDeviceType (), hubIndex + 5 , context);
307298 if (!devicesFound)
308299 {
@@ -601,10 +592,7 @@ std::map<int, OnixDeviceType> OnixSource::createDeviceMap(OnixDeviceVector devic
601592
602593 for (const auto & device : devices)
603594 {
604- if (filterDevices &&
605- (device->getDeviceType () == OnixDeviceType::HEARTBEAT ||
606- device->getDeviceType () == OnixDeviceType::PERSISTENTHEARTBEAT ||
607- device->getDeviceType () == OnixDeviceType::MEMORYMONITOR)) continue ;
595+ if (filterDevices && (device->getDeviceType () == OnixDeviceType::MEMORYMONITOR)) continue ;
608596
609597 deviceMap.insert ({ device->getDeviceIdx (), device->getDeviceType () });
610598 }
0 commit comments