ble_radio_notification_init requires DISTANCE_800US for now. :(
This commit is contained in:
parent
52ce741764
commit
2783e0289c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue