nrf5/modules/machine: Fixing type in RTC.

This commit is contained in:
Glenn Ruben Bakke 2017-06-02 18:41:13 +02:00
parent 5cfd6d166c
commit b785e145d2
1 changed files with 2 additions and 2 deletions

View File

@ -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);