Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:55:36 2015 +0100
Parent:
348:922c8b211979
Child:
350:09912ea7cedd
Commit message:
Synchronized with git rev 832347de
Author: Rohit Grover
make use of GapAdvertisingParams::AdvertisingType_t instead of Gap::AdvertisementType_t

Changed in this revision

btle/btle.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/btle/btle.cpp	Fri Jun 19 15:55:36 2015 +0100
+++ b/btle/btle.cpp	Fri Jun 19 15:55:36 2015 +0100
@@ -172,7 +172,7 @@
             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;