Fork with intent to refactor and add support for American 902-928(915) Frequency Bands

Revision:
30:d7e36d83ec9d
Parent:
28:6d83af9f8563
Child:
31:e50929bd3f32
--- a/sx1276/sx1276-hal.cpp	Thu Apr 27 18:20:59 2017 +0200
+++ b/sx1276/sx1276-hal.cpp	Thu Apr 27 22:33:38 2017 +0200
@@ -162,11 +162,11 @@
     dio3.mode( PullDown );
     dio4.mode( PullDown );
 #endif
-    dio0.rise( this, static_cast< TriggerMB1xAS > ( irqHandlers[0] ) );
-    dio1.rise( this, static_cast< TriggerMB1xAS > ( irqHandlers[1] ) );
-    dio2.rise( this, static_cast< TriggerMB1xAS > ( irqHandlers[2] ) );
-    dio3.rise( this, static_cast< TriggerMB1xAS > ( irqHandlers[3] ) );
-    dio4.rise( this, static_cast< TriggerMB1xAS > ( irqHandlers[4] ) );
+    dio0.rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[0] )));
+    dio1.rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[1] )));
+    dio2.rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[2] )));
+    dio3.rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[3] )));
+    dio4.rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[4] )));
 }
 
 void SX1276MB1xAS::IoDeInit( void )