Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SX1272Lib by
Diff: sx1272/sx1272-hal.cpp
- Revision:
- 10:677a0290458a
- Parent:
- 9:4e1a35fd0ccd
- Child:
- 11:cfa462865c9b
diff -r 4e1a35fd0ccd -r 677a0290458a sx1272/sx1272-hal.cpp
--- 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 )
