From 7d6929a4ad58a3354debf5edcdf1d0e4b6cc9fdd Mon Sep 17 00:00:00 2001 From: Szczepan Date: Sun, 3 Nov 2024 16:56:57 +0100 Subject: [PATCH] Documentation update, about setFifoThreshold. --- src/modules/RF69/RF69.h | 2 ++ src/modules/SX127x/SX127x.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/modules/RF69/RF69.h b/src/modules/RF69/RF69.h index ecee7546..a5691b93 100644 --- a/src/modules/RF69/RF69.h +++ b/src/modules/RF69/RF69.h @@ -650,6 +650,8 @@ class RF69: public PhysicalLayer { /*! \brief Set FIFO threshold level. + Be aware that threshold is also set in setFifoFullAction method. + setFifoThreshold method must be called AFTER calling setFifoFullAction! \param Threshold level. */ void setFifoThreshold(uint8_t threshold); diff --git a/src/modules/SX127x/SX127x.h b/src/modules/SX127x/SX127x.h index e5d5db54..af00e575 100644 --- a/src/modules/SX127x/SX127x.h +++ b/src/modules/SX127x/SX127x.h @@ -763,6 +763,8 @@ class SX127x: public PhysicalLayer { /*! \brief Set FIFO threshold level. + Be aware that threshold is also set in setFifoFullAction method. + setFifoThreshold method must be called AFTER calling setFifoFullAction! \param Threshold level. */ void setFifoThreshold(uint8_t threshold);