Skip to content

Commit

Permalink
Change return type of get queue function.
Browse files Browse the repository at this point in the history
Joseph Howarth authored and aminya committed Dec 15, 2020
1 parent 64bd625 commit 60ea844
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/csp/interfaces/csp_if_can.h
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ struct csp_can_config {
*/
int csp_can_init(uint8_t mode, struct csp_can_config *conf);

csp_queue_handle_t * get_csp_can_queue();
void * get_csp_can_queue();

#ifdef __cplusplus
} /* extern "C" */
2 changes: 1 addition & 1 deletion src/interfaces/csp_if_can.c
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ static csp_thread_handle_t csp_can_rx_task_h;
static csp_queue_handle_t csp_can_rx_queue;


csp_queue_handle_t get_csp_can_queue(){
void * get_csp_can_queue(){

return csp_can_rx_queue;
}

0 comments on commit 60ea844

Please sign in to comment.