From 81d7ac683b688c224dbbfad13102d97571271293 Mon Sep 17 00:00:00 2001 From: adbridge Date: Mon, 18 Jan 2021 14:59:30 +0000 Subject: [PATCH] Minor formatting tweak to fix file permissions --- events/include/events/Event.h | 6 +++--- events/tests/TESTS/events/queue/main.cpp | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) mode change 100755 => 100644 events/include/events/Event.h mode change 100755 => 100644 events/tests/TESTS/events/queue/main.cpp diff --git a/events/include/events/Event.h b/events/include/events/Event.h old mode 100755 new mode 100644 index ad22263df6..6d0fc4019a --- a/events/include/events/Event.h +++ b/events/include/events/Event.h @@ -142,9 +142,9 @@ public: /** Configure the period of an event * - * @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono duration. - * Period must be either non_periodic or > 0ms. If an invalid period is supplied then a - * default non_periodic value is used. + * @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono + * duration. Period must be either non_periodic or > 0ms. If an invalid period is supplied + * then a default non_periodic value is used. * E.g. period(200ms) */ void period(duration p) diff --git a/events/tests/TESTS/events/queue/main.cpp b/events/tests/TESTS/events/queue/main.cpp old mode 100755 new mode 100644 index a25c5b8eac..59c9449b52 --- a/events/tests/TESTS/events/queue/main.cpp +++ b/events/tests/TESTS/events/queue/main.cpp @@ -519,13 +519,12 @@ void handler() void event_period_tests() { // Test a non periodic event ie dispatched only once - + Event event1(&period_tests_queue, handler); event1.delay(10ms); event1.period(events::non_periodic); event1.post(); - period_tests_queue.dispatch(80); // Wait 100ms and check the event execution status @@ -544,7 +543,6 @@ void event_period_tests() event2.delay(10ms); event2.period(-10ms); event2.post(); - period_tests_queue.dispatch(80); // Wait 100ms and check the event execution status @@ -563,7 +561,6 @@ void event_period_tests() event3.delay(10ms); event3.period(0ms); event3.post(); - period_tests_queue.dispatch(80); // Wait 100ms and check the event execution status @@ -581,7 +578,6 @@ void event_period_tests() event4.delay(10ms); event4.period(20ms); event4.post(); - period_tests_queue.dispatch(80); // Wait 100ms and check the event execution status