From cdd7bfe53543032a29ef4afeb85ad1fc63e56662 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 24 May 2023 00:09:06 -0400 Subject: [PATCH] code style --- firmware/controllers/system/timer/single_timer_executor.cpp | 2 +- firmware/controllers/system/timer/single_timer_executor.h | 2 +- misc/stm32f1_test_project/timer/single_timer_executor.cpp | 2 +- misc/stm32f1_test_project/timer/single_timer_executor.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/system/timer/single_timer_executor.cpp b/firmware/controllers/system/timer/single_timer_executor.cpp index d24bbb884b..e1f1bc4007 100644 --- a/firmware/controllers/system/timer/single_timer_executor.cpp +++ b/firmware/controllers/system/timer/single_timer_executor.cpp @@ -172,7 +172,7 @@ void SingleTimerExecutor::scheduleTimerCallback() { setHardwareSchedulerTimer(nowNt, nextEventTimeNt.Value); } -void initSingleTimerExecutorHardware(void) { +void initSingleTimerExecutorHardware() { initMicrosecondTimer(); } diff --git a/firmware/controllers/system/timer/single_timer_executor.h b/firmware/controllers/system/timer/single_timer_executor.h index a82e18bb2b..7bb45cb9eb 100644 --- a/firmware/controllers/system/timer/single_timer_executor.h +++ b/firmware/controllers/system/timer/single_timer_executor.h @@ -31,6 +31,6 @@ private: void scheduleTimerCallback(); }; -void initSingleTimerExecutorHardware(void); +void initSingleTimerExecutorHardware(); void executorStatistics(); diff --git a/misc/stm32f1_test_project/timer/single_timer_executor.cpp b/misc/stm32f1_test_project/timer/single_timer_executor.cpp index 35767b2fd7..297256a874 100644 --- a/misc/stm32f1_test_project/timer/single_timer_executor.cpp +++ b/misc/stm32f1_test_project/timer/single_timer_executor.cpp @@ -171,7 +171,7 @@ void SingleTimerExecutor::scheduleTimerCallback() { setHardwareSchedulerTimer(nowNt, nextEventTimeNt.Value); } -void initSingleTimerExecutorHardware(void) { +void initSingleTimerExecutorHardware() { initMicrosecondTimer(); } diff --git a/misc/stm32f1_test_project/timer/single_timer_executor.h b/misc/stm32f1_test_project/timer/single_timer_executor.h index 38626991cc..0b7d6b85a9 100644 --- a/misc/stm32f1_test_project/timer/single_timer_executor.h +++ b/misc/stm32f1_test_project/timer/single_timer_executor.h @@ -31,6 +31,6 @@ private: void scheduleTimerCallback(); }; -void initSingleTimerExecutorHardware(void); +void initSingleTimerExecutorHardware(); void executorStatistics();