From a810a31c5f8a9125a7e787ac731804a25c35687a Mon Sep 17 00:00:00 2001 From: mmrein <55082189+mmrein@users.noreply.github.com> Date: Mon, 16 Sep 2019 20:10:59 +0200 Subject: [PATCH] setSyncBits: *sync changed to *syncWord, added note setSyncBits: Update *sync to *syncWord, add note about bits of syncWord being used if less than 64 bits. --- src/modules/SX126x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/SX126x.h b/src/modules/SX126x.h index df43c497..b56c879d 100644 --- a/src/modules/SX126x.h +++ b/src/modules/SX126x.h @@ -607,13 +607,13 @@ class SX126x: public PhysicalLayer { /*! \brief Sets FSK sync word in the form of array of up to 8 bytes. - \param syncWord FSK sync word to be set. + \param syncWord FSK sync word to be set. - \param len FSK sync word length in bits. + \param len FSK sync word length in bits. If less than 64 bits the LSB's of syncWord will be ignored. \returns \ref status_codes */ - int16_t setSyncBits(uint8_t *sync, uint8_t bitsLen); + int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen); /*! \brief Sets node address. Calling this method will also enable address filtering for node address only.