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.
Dependents: DISCO-L072CZ-LRWAN1_LoRa_node EIoT_LoRa_node_1 EIoT_LoRa_node_2 EIoT_LoRa_node_3
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-hal.cpp
- 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 )
