1
Diff: radio.h
- Revision:
- 20:75635d50262e
- Parent:
- 18:78c5e644d37a
- Child:
- 21:96db08266089
diff -r 94b5382d3fc6 -r 75635d50262e radio.h --- a/radio.h Thu Jun 25 12:39:08 2020 -0700 +++ b/radio.h Fri Jul 10 10:52:39 2020 -0700 @@ -87,7 +87,11 @@ static int Send(uint8_t size, timestamp_t maxListenTime, timestamp_t channelFreeTime, int rssiThresh); static void service(void); static uint32_t lora_toa_us(uint8_t pktLen); + #if (MBED_MAJOR_VERSION < 6) static volatile us_timestamp_t irqAt; + #else + static LowPowerClock::time_point irqAt; + #endif #ifdef DUTY_ENABLE static us_timestamp_t TimeOnAir(RadioModems_t, uint8_t); #endif /* DUTY_ENABLE */