sanfan-lora
Fork of SX1276Lib by
Diff: sx1276/sx1276.cpp
- Revision:
- 25:ff4574f6f1a6
- Parent:
- 24:3d058e9d6129
- Child:
- 26:ba9dda357a36
--- a/sx1276/sx1276.cpp Tue Apr 19 01:34:59 2016 +0000 +++ b/sx1276/sx1276.cpp Mon Jul 11 07:47:29 2016 +0000 @@ -13,6 +13,7 @@ Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin */ #include "sx1276.h" +#include "board.h" const FskBandwidth_t SX1276::FskBandwidths[] = { @@ -1142,12 +1143,13 @@ void SX1276::OnDio0Irq( void ) { volatile uint8_t irqFlags = 0; - + pc.printf("OnDio0Irq:%d\r\n",this->settings.State); switch( this->settings.State ) { case RF_RX_RUNNING: //TimerStop( &RxTimeoutTimer ); // RxDone interrupt + switch( this->settings.Modem ) { case MODEM_FSK: