File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Event<void(ArgTs...)> {
70
70
_event->equeue = &q->_equeue ;
71
71
_event->id = 0 ;
72
72
_event->delay = duration (0 );
73
- _event->period = events:: non_periodic;
73
+ _event->period = non_periodic;
74
74
75
75
_event->post = &Event::event_post<F>;
76
76
_event->dtor = &Event::event_dtor<F>;
@@ -154,11 +154,11 @@ class Event<void(ArgTs...)> {
154
154
_event->period = p;
155
155
}
156
156
else {
157
- if (p != events:: non_periodic) {
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 = events:: non_periodic;
161
+ _event->period = non_periodic;
162
162
}
163
163
}
164
164
}
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ void handler()
518
518
519
519
void event_period_tests ()
520
520
{
521
- // Test a non periodic event ie dispatched only once
521
+ // Test a non periodic event ie dispatched only once
522
522
523
523
Event<void ()> event1 (&period_tests_queue, handler);
524
524
You can’t perform that action at this time.
0 commit comments