fix for BLE Library Compile Error #2866 (#2876)

This commit is contained in:
Krishna Kumar 2019-07-09 16:23:01 +00:00 committed by Me No Dev
parent 4ee17ec3ee
commit 74ffdac74a

View File

@ -262,7 +262,7 @@ void BLEAdvertising::stop() {
void BLEAdvertising::setDeviceAddress(esp_bd_addr_t addr, esp_ble_addr_type_t type) void BLEAdvertising::setDeviceAddress(esp_bd_addr_t addr, esp_ble_addr_type_t type)
{ {
log_v(">> setPrivateAddress") log_v(">> setPrivateAddress");
m_advParams.own_addr_type = type; m_advParams.own_addr_type = type;
esp_err_t errRc = esp_ble_gap_set_rand_addr((uint8_t*)addr); esp_err_t errRc = esp_ble_gap_set_rand_addr((uint8_t*)addr);
@ -271,7 +271,7 @@ void BLEAdvertising::setDeviceAddress(esp_bd_addr_t addr, esp_ble_addr_type_t ty
log_e("esp_ble_gap_set_rand_addr: rc=%d %s", errRc, GeneralUtils::errorToString(errRc)); log_e("esp_ble_gap_set_rand_addr: rc=%d %s", errRc, GeneralUtils::errorToString(errRc));
return; return;
} }
log_v("<< setPrivateAddress") log_v("<< setPrivateAddress");
} // setPrivateAddress } // setPrivateAddress
/** /**