Update comment header for onRadioNotification() to explain the second prototype.

This commit is contained in:
Rohit Grover 2015-07-21 11:16:36 +01:00
parent c1c05e5f90
commit f12267fc71

View file

@ -867,6 +867,15 @@ public:
* @param callback
* The application handler to be invoked in response to a radio
* ACTIVE/INACTIVE event.
*
* or in the other version:
*
* @param tptr
* Pointer to the object of a class defining the member callback
* function (mptr).
* @param mptr
* The member callback (within the context of an object) to be
* invoked in response to a radio ACTIVE/INACTIVE event.
*/
void onRadioNotification(void (*callback)(bool param)) {
radioNotificationCallback.attach(callback);