@@ -62,7 +62,7 @@ struct listen_object_s
6262 SLIST_ENTRY (listen_object_s ) node ; /* Node of object info list */
6363
6464 struct orb_object object ; /* Object id */
65- orb_abstime timestamp ; /* Time of lastest generation */
65+ orb_abstime timestamp ; /* Time of last generation */
6666 unsigned long generation ; /* Latest generation */
6767 FAR FILE * file ;
6868};
@@ -252,7 +252,7 @@ static int listener_add_object(FAR struct listen_list_s *objlist,
252252 * Name: listener_update
253253 *
254254 * Description:
255- * Update object list, print imformation if given object has new data.
255+ * Update object list, print information if given object has new data.
256256 *
257257 * Input Parameters:
258258 * object Object to check state.
@@ -269,7 +269,7 @@ static int listener_update(FAR struct listen_list_s *objlist,
269269 FAR struct listen_object_s * tmp ;
270270 int ret ;
271271
272- /* Check wether object already exist in old list */
272+ /* Check whether object already exist in old list */
273273
274274 SLIST_FOREACH (tmp , objlist , node )
275275 {
@@ -485,7 +485,7 @@ static int listener_generate_object_list(FAR struct listen_list_s *objlist,
485485 continue ;
486486 }
487487
488- /* Update object infomation to list. */
488+ /* Update object information to list. */
489489
490490 if (listener_update (objlist , & object ) < 0 )
491491 {
@@ -568,7 +568,7 @@ static int listener_record(FAR const struct orb_metadata *meta, int fd,
568568 * Name: listener_monitor
569569 *
570570 * Description:
571- * Moniter objects by subscribe and print data.
571+ * Monitor objects by subscribe and print data.
572572 *
573573 * Input Parameters:
574574 * objlist List of objects to subscribe.
@@ -670,7 +670,7 @@ static void listener_monitor(FAR struct listen_list_s *objlist,
670670 }
671671 }
672672
673- /* Loop poll and print recieved messages */
673+ /* Loop poll and print received messages */
674674
675675 while ((!nb_msgs || nb_recv_msgs < nb_msgs ) && !g_should_exit )
676676 {
@@ -734,7 +734,7 @@ static void listener_monitor(FAR struct listen_list_s *objlist,
734734 }
735735
736736 orb_unsubscribe (fds [i ].fd );
737- uorbinfo_raw ("Object name:%s%d, recieved :%d" ,
737+ uorbinfo_raw ("Object name:%s%d, received :%d" ,
738738 tmp -> object .meta -> o_name , tmp -> object .instance ,
739739 recv_msgs [i ]);
740740 }
0 commit comments