From fefc22a596d20b9928555e26e0179c5770be856a Mon Sep 17 00:00:00 2001 From: Felipe Martinez Date: Mon, 28 Oct 2024 13:44:43 +0000 Subject: [PATCH] Stub out timer for now --- src/peripherals/nrf52832/timer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/peripherals/nrf52832/timer.c b/src/peripherals/nrf52832/timer.c index 848a7c8..33e4511 100644 --- a/src/peripherals/nrf52832/timer.c +++ b/src/peripherals/nrf52832/timer.c @@ -167,12 +167,10 @@ PPI_TASK_HANDLER(timer_task_handler) switch (task) { case TASK_ID(TIMER_TASKS_START): - fault_take(FAULT_NOT_IMPLEMENTED); // TODO: Make timer use HFCLK ticker - if (timer->mode == MODE_TIMER) { - if (!timer->running) - ticker_add(timer->ticker, timer_tick, timer, TICK_INTERVAL, true); + // if (!timer->running) + // ticker_add(timer->ticker, CLOCK_HFCLK, timer_tick, timer, TICK_INTERVAL, true); timer->running = true; }