This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Array initialization in bsp.c

In the file bsp.c (from the SDK11 ble_hrs example) I don't quite understand the initialization statement:

static bsp_button_event_cfg_t m_events_list[BUTTONS_NUMBER] = {{BSP_EVENT_NOTHING, BSP_EVENT_NOTHING}};

bsp_button_event_cfg_t is a struct with three fields, so what does this initialization do?