Skip to content

Commit 6c8cbfa

Browse files
authored
Merge pull request #103 from open-ephys-plugins/issue-92
Remove uninitialized headstage ID
2 parents 2a0ee3b + 9ffde05 commit 6c8cbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/OnixSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ bool OnixSource::initializeDevices(device_map_t deviceTable, bool updateStreamIn
457457

458458
hubNames.insert({ OnixDevice::getOffset(polledBno->getDeviceIdx()), NEUROPIXELSV2E_HEADSTAGE_NAME });
459459
}
460-
else if (hsid == 0xFFFFFFFF || hsid == ONIX_HUB_HSNP1ET || hsid == ONIX_HUB_HSNP1EH)
460+
else if (hsid == ONIX_HUB_HSNP1ET || hsid == ONIX_HUB_HSNP1EH)
461461
{
462462
auto hubIndex = OnixDevice::getHubIndexFromPassthroughIndex(index);
463463

0 commit comments

Comments
 (0)