local copy of sx1276 library
Dependents: SX1276_GPS demo_SX1276_standalone
Fork of SX1276Lib by
Diff: sx1276/sx1276-hal.h
- Revision:
- 2:5eb3066446dd
- Parent:
- 1:f979673946c0
- Child:
- 4:f0ce52e94d3f
--- a/sx1276/sx1276-hal.h Tue Aug 19 07:10:31 2014 +0000 +++ b/sx1276/sx1276-hal.h Tue Aug 19 08:50:09 2014 +0000 @@ -42,12 +42,7 @@ 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 */ @@ -115,6 +110,11 @@ public: /*! + * @brief Detect the board connected by reading the value of the antenna switch pin + */ + virtual uint8_t DetectBoardType( void ); + + /*! * @brief Checks if the given RF frequency is supported by the hardware * * @param [IN] frequency RF frequency to be checked