Skip to content

Commit

Permalink
Set size to get ppcp params
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Sep 29, 2022
1 parent ef815b1 commit 5647a51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/src/ble_provisioning_mode_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ int BleProvisioningModeHandler::cacheUserConfigurations() {
preAdvParams_.size = sizeof(hal_ble_adv_params_t);
CHECK(hal_ble_gap_get_advertising_parameters(&preAdvParams_, nullptr));
CHECK(hal_ble_gap_get_tx_power(&preTxPower_, nullptr));
prePpcp_.size = sizeof(hal_ble_conn_params_t);
CHECK(hal_ble_gap_get_ppcp(&prePpcp_, nullptr));
CHECK(hal_ble_gap_get_auto_advertise(&preAutoAdv_, nullptr));

Expand Down

0 comments on commit 5647a51

Please sign in to comment.