The wpi library SPI HAL Write and Read functions currently return 0 for success; this is incorrect. Rather these functions should return the actual number of bytes successfully transmitted.
The current behavior is causing some libraries to assume that these transfers did not work successfully, when in fact they worked as expected.
The wpi library SPI HAL Write and Read functions currently return 0 for success; this is incorrect. Rather these functions should return the actual number of bytes successfully transmitted.
The current behavior is causing some libraries to assume that these transfers did not work successfully, when in fact they worked as expected.