Fork for LoDev

Revision:
39:706c32eda7e7
Parent:
38:d9189d958db8
Child:
41:2dbc4afedf61
--- a/sx1276/sx1276-mbed-hal.cpp	Sun May 07 18:09:10 2017 +0200
+++ b/sx1276/sx1276-mbed-hal.cpp	Sun May 07 20:26:02 2017 +0200
@@ -168,15 +168,15 @@
     dio4.mode( PullDown );
 #endif
     if (_dio0)
-    	_dio0->rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[0] )));
+    	_dio0->rise(callback(this, static_cast< Trigger > ( irqHandlers[0] )));
     if (_dio1)
-    	_dio1->rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[1] )));
+    	_dio1->rise(callback(this, static_cast< Trigger > ( irqHandlers[1] )));
     if (_dio2)
-    	_dio2->rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[2] )));
+    	_dio2->rise(callback(this, static_cast< Trigger > ( irqHandlers[2] )));
     if (_dio3)
-    	_dio3->rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[3] )));
+    	_dio3->rise(callback(this, static_cast< Trigger > ( irqHandlers[3] )));
     if (_dio4)
-        _dio4->rise(callback(this, static_cast< TriggerMB1xAS > ( irqHandlers[4] )));
+        _dio4->rise(callback(this, static_cast< Trigger > ( irqHandlers[4] )));
 }
 
 void SX1276Generic::IoDeInit( void )