mirror of https://github.com/ARMmbed/mbed-os.git
Fix the time units stated in the delay and period functon headers
delay() and period() still stated that the units were milliseconds whereas in fact they are now a Chrono duration.pull/13965/head
parent
66ca70af94
commit
95f40aa8ff
|
@ -116,7 +116,7 @@ public:
|
|||
|
||||
/** Configure the delay of an event
|
||||
*
|
||||
* @param d Millisecond delay before dispatching the event
|
||||
* @param d Chrono duration delay before dispatching the event. For example delay(5s)
|
||||
*/
|
||||
void delay(duration d)
|
||||
{
|
||||
|
@ -138,7 +138,7 @@ public:
|
|||
|
||||
/** Configure the period of an event
|
||||
*
|
||||
* @param p Millisecond period for repeatedly dispatching an event
|
||||
* @param p Chrono duration period for repeatedly dispatching an event. For example period(5s)
|
||||
*/
|
||||
void period(duration p)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue