From 3008de5cbf83365cea10e62680034f3180731847 Mon Sep 17 00:00:00 2001 From: kegilbert Date: Thu, 1 Nov 2018 15:45:55 -0500 Subject: [PATCH] Fix typos in RTOS doxygen. --- rtos/Queue.h | 2 +- rtos/RtosTimer.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rtos/Queue.h b/rtos/Queue.h index ecec922f70..5785c9fcd7 100644 --- a/rtos/Queue.h +++ b/rtos/Queue.h @@ -37,7 +37,7 @@ namespace rtos { */ /** The Queue class represents a collection of objects that are stored first by - * order of priorty, and then in first-in, first-out (FIFO) order. + * order of priority, and then in first-in, first-out (FIFO) order. * * You can use a queue when you need to store data and then access it in the same * order that it has been stored. The order in which you retrieve the data is in diff --git a/rtos/RtosTimer.h b/rtos/RtosTimer.h index ecf666f032..eb976cd0bd 100644 --- a/rtos/RtosTimer.h +++ b/rtos/RtosTimer.h @@ -88,7 +88,7 @@ class RtosTimer : private mbed::NonCopyable { public: /** Create timer. @param func function to be executed by this timer. - @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic) + @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic) @param argument argument to the timer call back function. (default: NULL) @deprecated Replaced with RtosTimer(Callback, os_timer_type) @deprecated @@ -107,7 +107,7 @@ public: /** Create timer. @param func function to be executed by this timer. - @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic) + @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic) @deprecated The RtosTimer has been superseded by the EventQueue. See RtosTimer.h for more details @@ -123,7 +123,7 @@ public: /** Create timer. @param obj pointer to the object to call the member function on. @param method member function to be executed by this timer. - @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behaviour. (default: osTimerPeriodic) + @param type osTimerOnce for one-shot or osTimerPeriodic for periodic behavior. (default: osTimerPeriodic) @deprecated The RtosTimer constructor does not support cv-qualifiers. Replaced by RtosTimer(callback(obj, method), os_timer_type).