From 9ffde05dc6237dac7a7723bb317fbd5bbb08b98a Mon Sep 17 00:00:00 2001 From: bparks13 Date: Mon, 7 Jul 2025 11:17:55 -0400 Subject: [PATCH] Remove uninitialized headstage ID - This was previously used for testing an uninitialized Neuropixels 1.0e headstage, but should not be left in the code base --- Source/OnixSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OnixSource.cpp b/Source/OnixSource.cpp index 009cae5..41659e5 100644 --- a/Source/OnixSource.cpp +++ b/Source/OnixSource.cpp @@ -430,7 +430,7 @@ bool OnixSource::initializeDevices(device_map_t deviceTable, bool updateStreamIn hubNames.insert({ OnixDevice::getOffset(polledBno->getDeviceIdx()), NEUROPIXELSV2E_HEADSTAGE_NAME }); } - else if (hsid == 0xFFFFFFFF || hsid == ONIX_HUB_HSNP1ET || hsid == ONIX_HUB_HSNP1EH) + else if (hsid == ONIX_HUB_HSNP1ET || hsid == ONIX_HUB_HSNP1EH) { auto hubIndex = OnixDevice::getHubIndexFromPassthroughIndex(index);