Miguel Luis / SX1272Lib

Fork of SX1272Lib by Semtech

Revision:
10:677a0290458a
Parent:
9:4e1a35fd0ccd
Child:
11:cfa462865c9b
--- a/sx1272/sx1272-hal.cpp	Tue Dec 06 08:31:19 2016 +0000
+++ b/sx1272/sx1272-hal.cpp	Wed Dec 07 14:58:48 2016 +0000
@@ -198,11 +198,11 @@
     dio3.mode( PullDown );
     dio4.mode( PullDown );
 #endif
-    dio0.rise( this, static_cast< TriggerMB2xAS > ( irqHandlers[0] ) );
-    dio1.rise( this, static_cast< TriggerMB2xAS > ( irqHandlers[1] ) );
-    dio2.rise( this, static_cast< TriggerMB2xAS > ( irqHandlers[2] ) );
-    dio3.rise( this, static_cast< TriggerMB2xAS > ( irqHandlers[3] ) );
-    dio4.rise( this, static_cast< TriggerMB2xAS > ( irqHandlers[4] ) );
+    dio0.rise( mbed::callback( this, static_cast< TriggerMB2xAS > ( irqHandlers[0] ) ) );
+    dio1.rise( mbed::callback( this, static_cast< TriggerMB2xAS > ( irqHandlers[1] ) ) );
+    dio2.rise( mbed::callback( this, static_cast< TriggerMB2xAS > ( irqHandlers[2] ) ) );
+    dio3.rise( mbed::callback( this, static_cast< TriggerMB2xAS > ( irqHandlers[3] ) ) );
+    dio4.rise( mbed::callback( this, static_cast< TriggerMB2xAS > ( irqHandlers[4] ) ) );
 }
 
 void SX1272MB2xAS::IoDeInit( void )