The SPI driver documentation in the header (& API help website) need a review. DRV_SPI_TransferSetup says it returns none but actually returns a bool (true if successful). This should also be reflected in the code examples by checking that it was successful. This helps users understand the library through the API doc without having to double check the actual source code.
The SPI driver documentation in the header (& API help website) need a review.
DRV_SPI_TransferSetup
says it returns none but actually returns a bool (true if successful). This should also be reflected in the code examples by checking that it was successful. This helps users understand the library through the API doc without having to double check the actual source code.Thanks!