File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class Event<void(ArgTs...)> {
143
143
/* * Configure the period of an event
144
144
*
145
145
* @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono duration.
146
- * Period must be either non_periodic or > 0ms. If an invalid period is supplied then a
146
+ * Period must be either non_periodic or > 0ms. If an invalid period is supplied then a
147
147
* default non_periodic value is used.
148
148
* E.g. period(200ms)
149
149
*/
@@ -152,13 +152,13 @@ class Event<void(ArgTs...)> {
152
152
if (_event) {
153
153
if (p > duration (0 )) {
154
154
_event->period = p;
155
-
155
+
156
156
} else {
157
157
if (p != non_periodic) {
158
158
MBED_WARNING (MBED_ERROR_INVALID_ARGUMENT,
159
159
" Invalid period specified, defaulting to non_periodic." );
160
160
}
161
- _event->period = non_periodic;
161
+ _event->period = non_periodic;
162
162
}
163
163
}
164
164
}
You can’t perform that action at this time.
0 commit comments