Skip to content

Commit a55659e

Browse files
committed
Merge branch 'timer'
2 parents 1281685 + 626e268 commit a55659e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/platform/driver_init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ static void _timer_peripheral_init(void)
7878
{
7979
hri_mclk_set_APBAMASK_RTC_bit(MCLK);
8080
timer_init(&TIMER_0, RTC, _rtc_get_timer());
81+
timer_start(&TIMER_0);
8182
}
8283

8384
/**

src/qtouch/qtouch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ void qtouch_timer_config(void)
520520
Timer_task.mode = TIMER_TASK_REPEAT;
521521

522522
timer_add_task(&TIMER_0, &Timer_task);
523-
timer_start(&TIMER_0);
524523
}
525524

526525
uint16_t qtouch_get_sensor_node_signal(uint16_t sensor_node)

0 commit comments

Comments
 (0)