make use of GapAdvertisingParams::AdvertisingType_t instead of Gap::AdvertisementType_t

This commit is contained in:
Rohit Grover 2015-06-18 14:12:15 +01:00
parent a6b456c75c
commit 832347de91

View file

@ -172,7 +172,7 @@ static void btle_handler(ble_evt_t *p_ble_evt)
nRF51Gap::getInstance().processAdvertisementReport(advReport->peer_addr.addr,
advReport->rssi,
advReport->scan_rsp,
static_cast<Gap::AdvertisementType_t>(advReport->type),
static_cast<GapAdvertisingParams::AdvertisingType_t>(advReport->type),
advReport->dlen,
advReport->data);
break;