Styling changes.
This commit is contained in:
commit
183a572f4f
1 changed files with 7 additions and 5 deletions
|
@ -105,11 +105,13 @@ public:
|
|||
|
||||
// Call bootloader_start implicitly trough a event handler call
|
||||
// it is a work around for bootloader_start not being public in sdk 8.1
|
||||
ble_dfu_t *p_dfu;
|
||||
p_dfu->conn_handle = params->connHandle;
|
||||
ble_dfu_evt_t *p_evt;
|
||||
p_evt->ble_dfu_evt_type = BLE_DFU_START;
|
||||
dfu_app_on_dfu_evt(p_dfu, p_evt);
|
||||
ble_dfu_t p_dfu;
|
||||
ble_dfu_evt_t p_evt;
|
||||
|
||||
p_dfu.conn_handle = params->connHandle;
|
||||
p_evt.ble_dfu_evt_type = BLE_DFU_START;
|
||||
|
||||
dfu_app_on_dfu_evt(&p_dfu, &p_evt);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue