Fork with intent to refactor and add support for American 902-928(915) Frequency Bands
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 39:706c32eda7e7
- Parent:
- 38:d9189d958db8
- Child:
- 42:72deced1a4c4
diff -r d9189d958db8 -r 706c32eda7e7 sx1276/sx1276-mbed-hal.h --- a/sx1276/sx1276-mbed-hal.h Sun May 07 18:09:10 2017 +0200 +++ b/sx1276/sx1276-mbed-hal.h Sun May 07 20:26:02 2017 +0200 @@ -19,17 +19,11 @@ * 30826 Garbsen (Hannover) Germany */ -#ifndef __SX1276_HAL_H__ -#define __SX1276_HAL_H__ +#ifndef __SX1276_MBED_HAL_H__ +#define __SX1276_MBED_HAL_H__ #include "sx1276.h" -/*! - * triggers definition - */ -typedef void ( SX1276::*Trigger )( void ); -typedef void ( SX1276Generic::*TriggerMB1xAS )( void ); - /*! * Actual implementation of a SX1276 radio, includes some modifications to make it compatible with the MB1 LAS board @@ -74,6 +68,11 @@ private: + /*! + * triggers definition + */ + typedef void (SX1276Generic::*Trigger)(void); + public: SX1276Generic( RadioEvents_t *events, BoardType_t board, @@ -230,4 +229,4 @@ virtual void Reset( void ); }; -#endif // __SX1276_HAL_H__ +#endif // __SX1276_MBED_HAL_H__