Changed `Timer_Disable()` to `Timer_Stop()` for consistency.

This commit is contained in:
jakeg00dwin 2024-09-03 16:41:24 -07:00
parent 8c75dee9e0
commit 328b35d81e
1 changed files with 1 additions and 1 deletions

View File

@ -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);