nrf5/bluetooth: Fixing bug found when testing microbit. Newly introduced advertisment data pointer was not cleared on nrf51 targets. Explicit set to NULL as no additional advertisment data is set. Raises a question on why the nrf51 static variable was not zero initialized. To be checked up.
This commit is contained in:
parent
f6e612f7d7
commit
ca43f42b78
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user