make signature of BLE::onRadioNotification() more explicit.
void onRadioNotification(void (*callback)(bool)) This then is extended in Gap.h by: template <typename T> void onRadioNotification(T *tptr, void (T::*mptr)(bool));
This commit is contained in:
parent
26e9536a80
commit
5eda1ad9e7
1 changed files with 1 additions and 1 deletions
|
@ -1126,7 +1126,7 @@ public:
|
|||
* to ble.onRadioNotification(...) should be replaced with
|
||||
* ble.gap().onRadioNotification(...).
|
||||
*/
|
||||
void onRadioNotification(Gap::RadioNotificationEventCallback_t callback) {
|
||||
void onRadioNotification(void (*callback)(bool)) {
|
||||
gap().onRadioNotification(callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue