1
Diff: radio.h
- Revision:
- 5:ab124d3842a8
- Parent:
- 2:c321b5919516
- Child:
- 6:b7bbf31e06e4
diff -r 57080d572494 -r ab124d3842a8 radio.h --- a/radio.h Mon Aug 20 14:07:47 2018 -0700 +++ b/radio.h Sun Nov 25 17:12:03 2018 -0800 @@ -4,6 +4,8 @@ #include "sx127x_fsk.h" #endif /* SX127x_H */ +#define PA_OFF_DBM -127 + #define RADIO_OSC_STARTUP_us 1000 // [ms] #define RADIO_SLEEP_TO_RX_us 2000 // [ms] #define RADIO_WAKEUP_TIME_us ( RADIO_OSC_STARTUP_us + RADIO_SLEEP_TO_RX_us ) @@ -126,6 +128,7 @@ static void timeout_callback(bool); static void dio1_top_half(void); static PacketParams_t pp; + static bool paOff; #endif /* SX126x_H */ #ifdef SX128x_H static void readChip(void);