From 5327952af5c76d565590d62e5ae24a3c33d02e4a Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 18 Nov 2022 17:06:38 +0100 Subject: [PATCH] Added links to interrupt-based wiki page --- src/BuildOpt.h | 8 ++++++++ src/protocols/PhysicalLayer/PhysicalLayer.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/BuildOpt.h b/src/BuildOpt.h index ee115575..5c77861d 100644 --- a/src/BuildOpt.h +++ b/src/BuildOpt.h @@ -953,6 +953,14 @@ //#define RADIOLIB_RADIOSHIELD #endif +/* + * Uncomment to enable interrupt-based timing control + * For details, see https://github.com/jgromes/RadioLib/wiki/Interrupt-Based-Timing + */ +#if !defined(RADIOLIB_INTERRUPT_TIMING) + //#define RADIOLIB_INTERRUPT_TIMING +#endif + /* * Uncomment to enable static-only memory management: no dynamic allocation will be performed. * Warning: Large static arrays will be created in some methods. It is not advised to send large packets in this mode. diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.h b/src/protocols/PhysicalLayer/PhysicalLayer.h index 4e33881a..9305cf0a 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.h +++ b/src/protocols/PhysicalLayer/PhysicalLayer.h @@ -348,6 +348,7 @@ class PhysicalLayer { /*! \brief Set function to be called to set up the timing interrupt. + For details, see https://github.com/jgromes/RadioLib/wiki/Interrupt-Based-Timing \param func Setup function to be called, with one argument (pulse length in microseconds). */ @@ -355,6 +356,7 @@ class PhysicalLayer { /*! \brief Set timing interrupt flag. + For details, see https://github.com/jgromes/RadioLib/wiki/Interrupt-Based-Timing */ void setTimerFlag();