8000 ports/nrf: Remove erroneous rebase change to LFCLK. · micropython/micropython@cd6dbfa · GitHub
[go: up one dir, main page]

Skip to content

Commit cd6dbfa

Browse files
committed
ports/nrf: Remove erroneous rebase change to LFCLK.
Signed-off-by: RetiredWizard <github@retiredwizard.com>
1 parent 19789ab commit cd6dbfa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ports/nrf/mphalport.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ static void rtc_irq_time(nrfx_rtc_int_type_t event) {
129129

130130
void rtc1_init_time_ticks(void) {
131131
// Start the low-frequency clock (if it hasn't been started already)
132-
if (!nrf_clock_lf_is_running(NRF_CLOCK)) {
133-
nrf_clock_task_trigger(NRF_CLOCK, NRF_CLOCK_TASK_LFCLKSTART);
134-
rtc_offset_check();
135-
}
132+
mp_nrf_start_lfclk();
136133
// Uninitialize first, then set overflow IRQ and first CC event
137134
nrfx_rtc_uninit(&rtc1);
138135
nrfx_rtc_init(&rtc1, &rtc_config_time_ticks, rtc_irq_time);

0 commit comments

Comments
 (0)
0