From 60ea844138f621ab3d534e994df441446d69e87e Mon Sep 17 00:00:00 2001 From: Joseph Howarth Date: Thu, 30 Apr 2020 17:03:51 -0500 Subject: [PATCH] Change return type of get queue function. --- include/csp/interfaces/csp_if_can.h | 2 +- src/interfaces/csp_if_can.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/csp/interfaces/csp_if_can.h b/include/csp/interfaces/csp_if_can.h index 9b1bad7de..9c5700f44 100644 --- a/include/csp/interfaces/csp_if_can.h +++ b/include/csp/interfaces/csp_if_can.h @@ -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" */ diff --git a/src/interfaces/csp_if_can.c b/src/interfaces/csp_if_can.c index 4c4ef56dc..da5347ea0 100644 --- a/src/interfaces/csp_if_can.c +++ b/src/interfaces/csp_if_can.c @@ -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; }