Fork with intent to refactor and add support for American 902-928(915) Frequency Bands
Diff: sx1276/sx1276-hal.h
- Revision:
- 1:f979673946c0
- Parent:
- 0:e6ceb13d2d05
- Child:
- 2:5eb3066446dd
--- a/sx1276/sx1276-hal.h Mon Aug 18 14:24:46 2014 +0000 +++ b/sx1276/sx1276-hal.h Tue Aug 19 07:10:31 2014 +0000 @@ -26,7 +26,7 @@ /*! * Antenna switch GPIO pins objects */ - DigitalOut antSwitch; + DigitalInOut antSwitch; DigitalIn fake; @@ -42,6 +42,12 @@ virtual ~SX1276MB1xAS( ) { }; protected: + + /*! + * @brief Detect the board connected by reading the value of the antenna switch pin + */ + virtual void DetectBoardType( void ); + /*! * @brief Initializes the radio I/Os pins interface */