Skip to content

Commit 3008de5

Browse files
committed
Fix typos in RTOS doxygen.
1 parent 274f8b9 commit 3008de5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rtos/Queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace rtos {
3737
*/
3838

3939
/** The Queue class represents a collection of objects that are stored first by
40-
* order of priorty, and then in first-in, first-out (FIFO) order.
40+
* order of priority, and then in first-in, first-out (FIFO) order.
4141
*
4242
* You can use a queue when you need to store data and then access it in the same
4343
* order that it has been stored. The order in which you retrieve the data is in

rtos/RtosTimer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class RtosTimer : private mbed::NonCopyable<RtosTimer> {
8888
public:
8989
/** Create timer.
9090
@param func function to be executed by this timer.
91-
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic)
91+
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic)
9292
@param argument argument to the timer call back function. (default: NULL)
9393
@deprecated Replaced with RtosTimer(Callback<void()>, os_timer_type)
9494
@deprecated
@@ -107,7 +107,7 @@ class RtosTimer : private mbed::NonCopyable<RtosTimer> {
107107

108108
/** Create timer.
109109
@param func function to be executed by this timer.
110-
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic)
110+
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic)
111111
@deprecated
112112
The RtosTimer has been superseded by the EventQueue. See RtosTimer.h for more details
113113
@@ -123,7 +123,7 @@ class RtosTimer : private mbed::NonCopyable<RtosTimer> {
123123
/** Create timer.
124124
@param obj pointer to the object to call the member function on.
125125
@param method member function to be executed by this timer.
126-
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic)
126+
@param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic)
127127
@deprecated
128128
The RtosTimer constructor does not support cv-qualifiers. Replaced by
129129
RtosTimer(callback(obj, method), os_timer_type).

0 commit comments

Comments
 (0)