From 3ecb6fee10416993bc5e6684680b8da67bf19362 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Tue, 29 Nov 2022 15:26:40 +0500 Subject: [PATCH] Disable FEC by default, enable 32-bit sync word --- src/modules/CC1101/CC1101.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/CC1101/CC1101.h b/src/modules/CC1101/CC1101.h index 2244c1e2..af3eaf2a 100644 --- a/src/modules/CC1101/CC1101.h +++ b/src/modules/CC1101/CC1101.h @@ -872,7 +872,7 @@ class CC1101: public PhysicalLayer { \returns \ref status_codes */ - int16_t setForwardErrorCorrection(bool enable = true); + int16_t setForwardErrorCorrection(bool enable = false); /*! \brief Enable sync word filtering and generation. @@ -885,7 +885,7 @@ class CC1101: public PhysicalLayer { \returns \ref status_codes */ - int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0, bool requireCarrierSense = false, bool repeatSyncWord); + int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0, bool requireCarrierSense = false, bool repeatSyncWord = true); /*! \brief Disable preamble and sync word filtering and generation.