Skip to content

Commit

Permalink
Merge branch 'timer'
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Dec 10, 2024
2 parents 1281685 + 626e268 commit a55659e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/platform/driver_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ static void _timer_peripheral_init(void)
{
hri_mclk_set_APBAMASK_RTC_bit(MCLK);
timer_init(&TIMER_0, RTC, _rtc_get_timer());
timer_start(&TIMER_0);
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/qtouch/qtouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ void qtouch_timer_config(void)
Timer_task.mode = TIMER_TASK_REPEAT;

timer_add_task(&TIMER_0, &Timer_task);
timer_start(&TIMER_0);
}

uint16_t qtouch_get_sensor_node_signal(uint16_t sensor_node)
Expand Down

0 comments on commit a55659e

Please sign in to comment.