We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c177e commit 64bd625Copy full SHA for 64bd625
include/csp/interfaces/csp_if_can.h
@@ -51,6 +51,8 @@ struct csp_can_config {
51
*/
52
int csp_can_init(uint8_t mode, struct csp_can_config *conf);
53
54
+csp_queue_handle_t * get_csp_can_queue();
55
+
56
#ifdef __cplusplus
57
} /* extern "C" */
58
#endif
src/interfaces/csp_if_can.c
@@ -114,6 +114,12 @@ static csp_thread_handle_t csp_can_rx_task_h;
114
/* RX frame queue */
115
static csp_queue_handle_t csp_can_rx_queue;
116
117
118
+csp_queue_handle_t get_csp_can_queue(){
119
120
+ return csp_can_rx_queue;
121
+}
122
123
/* Identification number */
124
static int csp_can_id_init(void)
125
{
0 commit comments