Closed uzytkownik closed 6 years ago
A small type detected by compiling with warnings
// from shim.rs extern { // ... pub fn freertos_rs_queue_delete(queue: FreeRtosQueueHandle); // ...
And in C code:
// queue.c void vQueueDelete( QueueHandle_t xQueue ) // shim.c void freertos_rs_queue_delete(UBaseType_t queue)
There are also a few minor problems:
uint8_t
char *
freertos_rs_spawn_task
freertos_rs_timer_create
freertos_rs_queue_send_isr
ret
I can send a pull request for them later today but they should be easy enough to fix
Should be fixed in the latest version of the shim, thanks for the report. I'll also probably modify the test environment to compile with -Wall to be really strict on such issues.
A small type detected by compiling with warnings
And in C code:
There are also a few minor problems:
uint8_t
is used and passed aschar *
when transforming string (strict aliasing violation) (freertos_rs_spawn_task
andfreertos_rs_timer_create
)freertos_rs_queue_send_isr
have unused variableret
.I can send a pull request for them later today but they should be easy enough to fix