From a437e25968aa05db551ade2166d2419746538e65 Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 6 Jul 2020 08:53:40 +0200 Subject: [PATCH] [PHY] Changed shaping datatype to uint8_t --- src/protocols/PhysicalLayer/PhysicalLayer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.h b/src/protocols/PhysicalLayer/PhysicalLayer.h index 601c39c6..11bfb490 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.h +++ b/src/protocols/PhysicalLayer/PhysicalLayer.h @@ -193,16 +193,16 @@ class PhysicalLayer { /*! \brief Sets GFSK data shaping. Only available in FSK mode. Must be implemented in module class. - \param sh Shaping to be set. Set to zero to disable data shaping. + \param sh Shaping to be set. See \ref config_shaping for possible values. \returns \ref status_codes */ - virtual int16_t setDataShaping(float sh) = 0; + virtual int16_t setDataShaping(uint8_t sh) = 0; /*! \brief Sets FSK data encoding. Only available in FSK mode. Must be implemented in module class. - \param enc Encoding to be used. Set to zero to for no encoding (NRZ). + \param enc Encoding to be used. See \ref config_encoding for possible values. \returns \ref status_codes */