From 2783e0289c79535911c4ff867ab26dd0bf389873 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Wed, 15 Apr 2015 09:23:56 +0100 Subject: [PATCH] ble_radio_notification_init requires DISTANCE_800US for now. :( --- nRF51Gap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nRF51Gap.h b/nRF51Gap.h index bb50c3b..25cfb14 100644 --- a/nRF51Gap.h +++ b/nRF51Gap.h @@ -68,7 +68,7 @@ public: 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: