diff --git a/nrf5/bluetooth/ble_uart.c b/nrf5/bluetooth/ble_uart.c index 7789da2f3a..bb5292bf5d 100644 --- a/nrf5/bluetooth/ble_uart.c +++ b/nrf5/bluetooth/ble_uart.c @@ -212,6 +212,7 @@ void ble_uart_init0(void) { m_adv_data_uart_service.p_device_name = (uint8_t *)device_name; m_adv_data_uart_service.device_name_len = strlen(device_name); m_adv_data_uart_service.connectable = true; + m_adv_data_uart_service.p_data = NULL; #if BLUETOOTH_WEBBLUETOOTH_REPL // for now point eddystone URL to https://goo.gl/x46FES => https://glennrub.github.io/webbluetooth/micropython/repl/