Goran Mahovlic / nRF51822_BLE_MIDI

Dependents:   BLE_MIDI

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Wed Apr 15 09:24:27 2015 +0100
Parent:
110:f35ac193ecb4
Child:
112:737b08b3b995
Commit message:
Synchronized with git rev 2783e028
Author: Rohit Grover
ble_radio_notification_init requires DISTANCE_800US for now. :(

Changed in this revision

nRF51Gap.h Show annotated file Show diff for this revision Revisions of this file
--- a/nRF51Gap.h	Wed Apr 15 09:17:47 2015 +0100
+++ b/nRF51Gap.h	Wed Apr 15 09:24:27 2015 +0100
@@ -68,7 +68,7 @@
 
     virtual void setOnRadioNotification(RadioNotificationEventCallback_t callback) {
         Gap::setOnRadioNotification(callback);
-        ble_radio_notification_init(NRF_APP_PRIORITY_HIGH, NRF_RADIO_NOTIFICATION_DISTANCE_NONE, onRadioNotification);
+        ble_radio_notification_init(NRF_APP_PRIORITY_HIGH, NRF_RADIO_NOTIFICATION_DISTANCE_800US, onRadioNotification);
     }
 
 private: