1
Diff: radio.h
- Revision:
- 7:ba81f66e56d1
- Parent:
- 6:b7bbf31e06e4
- Child:
- 9:97a6de3dbc86
diff -r b7bbf31e06e4 -r ba81f66e56d1 radio.h --- a/radio.h Tue Dec 04 15:22:54 2018 -0800 +++ b/radio.h Wed Dec 05 15:04:48 2018 -0800 @@ -82,6 +82,7 @@ static void Rx(unsigned timeout); // timeout 0 for continuous rx static void Standby(void); static bool CheckRfFrequency(unsigned hz); + static float GetRssiInst(void); static void Init(const RadioEvents_t*); static int Send(uint8_t size, timestamp_t maxListenTime, timestamp_t channelFreeTime, int rssiThresh); //static void PrintStatus(void); @@ -115,6 +116,7 @@ static DigitalIn chipType; #endif /* TARGET_FF_ARDUINO */ #elif defined(SX128x_H) + #define SetFixedPayloadLength SetRxMaxPayloadLength static SX128x radio; #else #error import radio driver library