File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rtps::Participant *part_ptr = NULL; //TODO: detele this
1818rtps::Writer *pub_ptr = NULL ;
1919
2020#define SUB_MSG_SIZE 4 // addr size
21- osMessageQueueId_t subscriber_msg_gueue_id ;
21+ osMessageQueueId_t subscriber_msg_queue_id ;
2222
2323bool completeNodeInit = false ;
2424uint8_t endpointId = 0 ;
@@ -92,8 +92,8 @@ void mros2_init(void *args)
9292
9393#ifndef __MBED__
9494 sub_msg_count = mros2_get_submsg_count ();
95- subscriber_msg_gueue_id = osMessageQueueNew (sub_msg_count, SUB_MSG_SIZE, NULL );
96- if (subscriber_msg_gueue_id == NULL ) {
95+ subscriber_msg_queue_id = osMessageQueueNew (sub_msg_count, SUB_MSG_SIZE, NULL );
96+ if (subscriber_msg_queue_id == NULL ) {
9797 MROS2_ERROR (" [MROS2LIB] ERROR: mROS2 init failed" );
9898 return ;
9999 }
@@ -234,7 +234,7 @@ void spin()
234234#ifndef __MBED__
235235 osStatus_t ret;
236236 SubscribeDataType* msg;
237- ret = osMessageQueueGet (subscriber_msg_gueue_id , &msg, NULL , osWaitForever);
237+ ret = osMessageQueueGet (subscriber_msg_queue_id , &msg, NULL , osWaitForever);
238238 if (ret != osOK) {
239239 MROS2_ERROR (" [MROS2LIB] ERROR: mROS2 spin() wait error %d" , ret);
240240 }
You can’t perform that action at this time.
0 commit comments