Driver for the SX1276 RF Transceiver(Updated to work with nucleo, tested with L073RZ)
Fork of SX1276Lib by
Diff: sx1276/sx1276-hal.cpp
- Revision:
- 27:4fa62fc82e92
- Parent:
- 26:d09a8ef807e2
--- a/sx1276/sx1276-hal.cpp Mon Apr 24 09:26:23 2017 +0000 +++ b/sx1276/sx1276-hal.cpp Tue Nov 28 18:50:30 2017 +0000 @@ -147,11 +147,11 @@ dio3.mode( PullDown ); dio4.mode( PullDown ); #endif - dio0.rise( mbed::callback( this, static_cast< TriggerMB1xAS > ( irqHandlers[0] ) ) ); - dio1.rise( mbed::callback( this, static_cast< TriggerMB1xAS > ( irqHandlers[1] ) ) ); - dio2.rise( mbed::callback( this, static_cast< TriggerMB1xAS > ( irqHandlers[2] ) ) ); - dio3.rise( mbed::callback( this, static_cast< TriggerMB1xAS > ( irqHandlers[3] ) ) ); - dio4.rise( mbed::callback( this, static_cast< TriggerMB1xAS > ( irqHandlers[4] ) ) ); + 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] ) ); } void SX1276MB1xAS::IoDeInit( void )