Skip to content

Conversation

@MartinRobomaze
Copy link
Contributor

Hi,
When using this library to interface usb2fir on Raspberry Pi 3, I found out that alphaScale value is not correctly retrieved from the board. I suppose that i is some kind of type overflow, because the alphaScale value is 0. After some investigation I found out that requesting raw data is successful, so the error has to be somewhere in alphaScale calculation. I specified the data type to int in line 128 - alphaScale = int((eepromdata[0x20] >> 12) + 30) and the alphaScale value has been retrieved and calculated correctly ever since.

@MartinRobomaze MartinRobomaze force-pushed the Camera_alphaScale_error branch from b59b379 to 3232e08 Compare November 7, 2019 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant