File tree 1 file changed +4
-4
lines changed
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
18
18
rtps::Writer *pub_ptr = NULL ;
19
19
20
20
#define SUB_MSG_SIZE 4 // addr size
21
- osMessageQueueId_t subscriber_msg_gueue_id ;
21
+ osMessageQueueId_t subscriber_msg_queue_id ;
22
22
23
23
bool completeNodeInit = false ;
24
24
uint8_t endpointId = 0 ;
@@ -92,8 +92,8 @@ void mros2_init(void *args)
92
92
93
93
#ifndef __MBED__
94
94
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 ) {
97
97
MROS2_ERROR (" [MROS2LIB] ERROR: mROS2 init failed" );
98
98
return ;
99
99
}
@@ -234,7 +234,7 @@ void spin()
234
234
#ifndef __MBED__
235
235
osStatus_t ret;
236
236
SubscribeDataType* msg;
237
- ret = osMessageQueueGet (subscriber_msg_gueue_id , &msg, NULL , osWaitForever);
237
+ ret = osMessageQueueGet (subscriber_msg_queue_id , &msg, NULL , osWaitForever);
238
238
if (ret != osOK) {
239
239
MROS2_ERROR (" [MROS2LIB] ERROR: mROS2 spin() wait error %d" , ret);
240
240
}
You can’t perform that action at this time.
0 commit comments