From b785e145d29a5cd39a26fcba13c731e806dbb6fe Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Fri, 2 Jun 2017 18:41:13 +0200 Subject: [PATCH] nrf5/modules/machine: Fixing type in RTC. --- nrf5/modules/machine/rtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nrf5/modules/machine/rtc.c b/nrf5/modules/machine/rtc.c index deadb385ee..9b5e5601b3 100644 --- a/nrf5/modules/machine/rtc.c +++ b/nrf5/modules/machine/rtc.c @@ -120,9 +120,9 @@ STATIC mp_obj_t machine_rtc_make_new(const mp_obj_type_t *type, size_t n_args, s } #ifdef NRF51 - self->p_config.irq_priority = 3; + self->p_config->irq_priority = 3; #else - self->p_config.irq_priority = 6; + self->p_config->irq_priority = 6; #endif hal_rtc_init(self->p_config);