This library update contains changes according to the HW-modification.
Dependents: LoRaWAN_Serial_port_driven_and_configurable_ELMO_based_on_TxRx_Template
Fork of SX1272lib by
Changes compared to original SX1272lib:
HW modification was made to remove RFO-output and replaced with PABOOST-output. PASELECT changed accordingly.
Diff: sx1272/sx1272-hal.cpp
- Revision:
- 2:b0a793d995ad
- Parent:
- 1:51fd7a5843e5
- Child:
- 5:6740f7ed1d00
--- a/sx1272/sx1272-hal.cpp Thu Sep 17 15:03:32 2015 +0200 +++ b/sx1272/sx1272-hal.cpp Thu Sep 17 15:26:17 2015 +0200 @@ -107,11 +107,11 @@ dio3.mode(PullDown); dio4.mode(PullDown); #endif - dio0.rise( this, static_cast< TriggerMB1xASSX1272 > ( irqHandlers[0] ) ); - dio1.rise( this, static_cast< TriggerMB1xASSX1272 > ( irqHandlers[1] ) ); - dio2.rise( this, static_cast< TriggerMB1xASSX1272 > ( irqHandlers[2] ) ); - dio3.rise( this, static_cast< TriggerMB1xASSX1272 > ( irqHandlers[3] ) ); - dio4.rise( this, static_cast< TriggerMB1xASSX1272 > ( irqHandlers[4] ) ); + dio0.rise( this, static_cast< TriggerSX1272BRD > ( irqHandlers[0] ) ); + dio1.rise( this, static_cast< TriggerSX1272BRD > ( irqHandlers[1] ) ); + dio2.rise( this, static_cast< TriggerSX1272BRD > ( irqHandlers[2] ) ); + dio3.rise( this, static_cast< TriggerSX1272BRD > ( irqHandlers[3] ) ); + dio4.rise( this, static_cast< TriggerSX1272BRD > ( irqHandlers[4] ) ); } void SX1272BRD::IoIrqDeInit( )