nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
350:4a930be118d8
Parent:
345:2a44e5fd26bc
Child:
352:77f16b36012a
--- 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;