From e33ebe89cb4045e43bdca09cc57c62ea05eec694 Mon Sep 17 00:00:00 2001 From: Jarno Lehtinen Date: Sat, 8 Feb 2020 09:49:19 +0200 Subject: [PATCH] Update SX1278.h --- src/modules/SX127x/SX1278.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/SX127x/SX1278.h b/src/modules/SX127x/SX1278.h index c081e76c..a495490d 100644 --- a/src/modules/SX127x/SX1278.h +++ b/src/modules/SX127x/SX1278.h @@ -259,6 +259,13 @@ class SX1278: public SX127x { */ int16_t setCRC(bool enableCRC); + /*! + \brief Check if payload includes CRC and thus CRC is enabled in explicit header mode + + \returns 1 if payload includes CRC and CRC is enabled, otherwise 0 + */ + uint8_t crcOnPayload(); + #ifndef RADIOLIB_GODMODE protected: #endif