Added proper casts for csp_bin_sem
csp_bin_sem_t is no longer a freertos type. So the proper cast needst to be made.
#include <csp/csp.h>
void csp_bin_sem_init(csp_bin_sem_t * sem) {
- xSemaphoreCreateBinaryStatic(sem);
- xSemaphoreGive(sem);
+ xSemaphoreCreateBinaryStatic((StaticQueue_t *) sem);
+ xSemaphoreGive((QueueHandle_t) sem);
}
int csp_bin_sem_wait(csp_bin_sem_t * sem, unsigned int timeout) {
