nrf/drivers/bluetooth: Fix variable initialisation error with older gcc.

Without this change, arm-none-eabi-gcc version 4.9.3 (at least) would give
a "missing braces around initializer" error.
pull/5644/head
cccc 2020-02-14 14:23:11 +08:00 zatwierdzone przez Damien George
rodzic 4af79e7694
commit 4f3e5ea934
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -116,7 +116,7 @@ static mp_obj_t mp_gattc_char_data_observer;
static uint8_t m_adv_handle = BLE_GAP_ADV_SET_HANDLE_NOT_SET;
static uint8_t m_scan_buffer[BLE_GAP_SCAN_BUFFER_MIN];
nrf_nvic_state_t nrf_nvic_state = {0};
nrf_nvic_state_t nrf_nvic_state = {{0}, 0};
#endif
#if (BLUETOOTH_SD == 110)