nrf5/modules/machine: Fixing type in RTC.
This commit is contained in:
parent
5cfd6d166c
commit
b785e145d2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user