Minor formatting tweak to fix file permissions

pull/14087/head
adbridge 2021-01-18 14:59:30 +00:00
parent 4f558743e1
commit 81d7ac683b
2 changed files with 4 additions and 8 deletions

6
events/include/events/Event.h Executable file → Normal file
View File

@ -142,9 +142,9 @@ public:
/** Configure the period of an event /** Configure the period of an event
* *
* @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono duration. * @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono
* Period must be either non_periodic or > 0ms. If an invalid period is supplied then a * duration. Period must be either non_periodic or > 0ms. If an invalid period is supplied
* default non_periodic value is used. * then a default non_periodic value is used.
* E.g. period(200ms) * E.g. period(200ms)
*/ */
void period(duration p) void period(duration p)

4
events/tests/TESTS/events/queue/main.cpp Executable file → Normal file
View File

@ -525,7 +525,6 @@ void event_period_tests()
event1.delay(10ms); event1.delay(10ms);
event1.period(events::non_periodic); event1.period(events::non_periodic);
event1.post(); event1.post();
period_tests_queue.dispatch(80); period_tests_queue.dispatch(80);
// Wait 100ms and check the event execution status // Wait 100ms and check the event execution status
@ -544,7 +543,6 @@ void event_period_tests()
event2.delay(10ms); event2.delay(10ms);
event2.period(-10ms); event2.period(-10ms);
event2.post(); event2.post();
period_tests_queue.dispatch(80); period_tests_queue.dispatch(80);
// Wait 100ms and check the event execution status // Wait 100ms and check the event execution status
@ -563,7 +561,6 @@ void event_period_tests()
event3.delay(10ms); event3.delay(10ms);
event3.period(0ms); event3.period(0ms);
event3.post(); event3.post();
period_tests_queue.dispatch(80); period_tests_queue.dispatch(80);
// Wait 100ms and check the event execution status // Wait 100ms and check the event execution status
@ -581,7 +578,6 @@ void event_period_tests()
event4.delay(10ms); event4.delay(10ms);
event4.period(20ms); event4.period(20ms);
event4.post(); event4.post();
period_tests_queue.dispatch(80); period_tests_queue.dispatch(80);
// Wait 100ms and check the event execution status // Wait 100ms and check the event execution status