Skip to content

Commit

Permalink
Add more OneBox debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Sep 3, 2024
1 parent 5c37c0d commit 46ad07c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Source/Basestations/OneBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,14 @@ void OneBox::initialize (bool signalChainIsLoading)
adcSource->initialize (signalChainIsLoading);

errorCode = Neuropixels::arm (slot);
LOGC ("OneBox is armed");
if (errorCode != Neuropixels::SUCCESS)
{
LOGC ("Failed to arm OneBox on slot ", slot, ", error code = ", errorCode);
}
else
{
LOGC ("OneBox initialized on slot ", slot);
}
}

void OneBox::close()
Expand Down

0 comments on commit 46ad07c

Please sign in to comment.