We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Due to error can not write buffer to SPI device.
use busWriteBuf function on spi device.
buffer to be written in SPI device.
To write something to registers you need to clear MSB of address. To read set MSB. This done correctly on busWrite and busRead functions
Correct
But for buffer something is wrong.
Incorrect
https://github.com/iNavFlight/inav/blob/master/src/main/drivers/bus.c#L286C1-L286C73
All versions of Inav, at least from 3.0.0 have this problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current Behavior
Due to error can not write buffer to SPI device.
Steps to Reproduce
use busWriteBuf function on spi device.
Expected behavior
buffer to be written in SPI device.
Suggested solution(s)
To write something to registers you need to clear MSB of address. To read set MSB.
This done correctly on busWrite and busRead functions
Correct
Correct
But for buffer something is wrong.
Correct
Incorrect
https://github.com/iNavFlight/inav/blob/master/src/main/drivers/bus.c#L286C1-L286C73
Additional context
All versions of Inav, at least from 3.0.0 have this problem.
The text was updated successfully, but these errors were encountered: