Skip to content

Commit 60ea844

Browse files
Joseph Howarthaminya
authored andcommitted
Change return type of get queue function.
1 parent 64bd625 commit 60ea844

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/csp/interfaces/csp_if_can.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct csp_can_config {
5151
*/
5252
int csp_can_init(uint8_t mode, struct csp_can_config *conf);
5353

54-
csp_queue_handle_t * get_csp_can_queue();
54+
void * get_csp_can_queue();
5555

5656
#ifdef __cplusplus
5757
} /* extern "C" */

src/interfaces/csp_if_can.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static csp_thread_handle_t csp_can_rx_task_h;
115115
static csp_queue_handle_t csp_can_rx_queue;
116116

117117

118-
csp_queue_handle_t get_csp_can_queue(){
118+
void * get_csp_can_queue(){
119119

120120
return csp_can_rx_queue;
121121
}

0 commit comments

Comments
 (0)