We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8b658 commit 13c07ecCopy full SHA for 13c07ec
Source/OnixDevice.cpp
@@ -65,7 +65,7 @@ oni_dev_idx_t OnixDevice::getHubIndexFromPassthroughIndex(oni_dev_idx_t passthro
65
return 0;
66
}
67
68
- oni_dev_idx_t idx = (passthroughIndex - 7) << 8;
+ return (passthroughIndex - 7) << 8;
69
70
71
oni_dev_idx_t OnixDevice::getDeviceIndexFromPassthroughIndex(oni_dev_idx_t passthroughIndex) const
Source/OnixDevice.h
@@ -42,7 +42,7 @@ namespace OnixSourcePlugin
42
};
43
44
enum class OnixDeviceType {
45
- BNO,
+ BNO = 0,
46
POLLEDBNO,
47
NEUROPIXELSV1E,
48
NEUROPIXELSV1F,
0 commit comments