From 7d0b3c66409a9bf051e958610b63ca1af5269fc4 Mon Sep 17 00:00:00 2001 From: Crsarmv7l <85343771+Crsarmv7l@users.noreply.github.com> Date: Tue, 26 Mar 2024 19:22:53 -0400 Subject: [PATCH] getFrequency implementation --- src/modules/CC1101/CC1101.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/CC1101/CC1101.h b/src/modules/CC1101/CC1101.h index bb979116..513dbe4d 100644 --- a/src/modules/CC1101/CC1101.h +++ b/src/modules/CC1101/CC1101.h @@ -730,6 +730,12 @@ class CC1101: public PhysicalLayer { */ int16_t setFrequency(float freq); + /*! + \brief gets carrier frequency. + \returns the freq currently set + */ + float getFrequency(); + /*! \brief Sets bit rate. Allowed values range from 0.025 to 600.0 kbps. \param br Bit rate to be set in kbps.