ble_radio_notification_init requires DISTANCE_800US for now. :(

This commit is contained in:
Rohit Grover 2015-04-15 09:23:56 +01:00
parent 52ce741764
commit 2783e0289c

View file

@ -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: