diff --git a/nrf5/modules/machine/rtc.c b/nrf5/modules/machine/rtc.c index 7ccf599b83..de27d213f9 100644 --- a/nrf5/modules/machine/rtc.c +++ b/nrf5/modules/machine/rtc.c @@ -44,7 +44,7 @@ typedef struct _machine_rtc_obj_t { RTC_HandleTypeDef RTCHandle0 = {.config.p_instance = NULL, .id = 0}; RTC_HandleTypeDef RTCHandle1 = {.config.p_instance = NULL, .id = 1}; -STATIC const machine_rtc_obj_t machine_rtc_obj[] = { +STATIC machine_rtc_obj_t machine_rtc_obj[] = { {{&machine_rtc_type}, &RTCHandle0}, {{&machine_rtc_type}, &RTCHandle1}, };