From 328b35d81ec8988b6e23810906a217bb6e621f7b Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Tue, 3 Sep 2024 16:41:24 -0700 Subject: [PATCH] Changed `Timer_Disable()` to `Timer_Stop()` for consistency. --- src/timer/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/timer.c b/src/timer/timer.c index 700d6c7..ead3cd8 100644 --- a/src/timer/timer.c +++ b/src/timer/timer.c @@ -55,7 +55,7 @@ void Timer_Start(void) { TCA0.SINGLE.CTRLA |= TCA_SINGLE_ENABLE_bm; } -void Timer_Disable(void) { +void Timer_Stop(void) { cli(); TCA0.SINGLE.CTRLA &= ~(1 << 0); TCA0.SINGLE.CTRLESET |= ((0x3) << 2);