lora.h: move brief tag outside of ifndef block
This commit is contained in:
parent
022e1f57b8
commit
3e3321445f
@ -33,58 +33,71 @@ extern "C" {
|
|||||||
* @ingroup config
|
* @ingroup config
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#ifndef LORA_FREQUENCY_RESOLUTION_DEFAULT
|
|
||||||
/** @brief Frequency resolution in Hz */
|
/** @brief Frequency resolution in Hz */
|
||||||
|
#ifndef LORA_FREQUENCY_RESOLUTION_DEFAULT
|
||||||
#define LORA_FREQUENCY_RESOLUTION_DEFAULT (61.03515625)
|
#define LORA_FREQUENCY_RESOLUTION_DEFAULT (61.03515625)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_PREAMBLE_LENGTH_DEFAULT
|
|
||||||
/** @brief Preamble length, same for Tx and Rx */
|
/** @brief Preamble length, same for Tx and Rx */
|
||||||
|
#ifndef LORA_PREAMBLE_LENGTH_DEFAULT
|
||||||
#define LORA_PREAMBLE_LENGTH_DEFAULT (8U)
|
#define LORA_PREAMBLE_LENGTH_DEFAULT (8U)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_SYMBOL_TIMEOUT_DEFAULT
|
|
||||||
/** @brief Symbols timeout (s) */
|
/** @brief Symbols timeout (s) */
|
||||||
|
#ifndef LORA_SYMBOL_TIMEOUT_DEFAULT
|
||||||
#define LORA_SYMBOL_TIMEOUT_DEFAULT (10U)
|
#define LORA_SYMBOL_TIMEOUT_DEFAULT (10U)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_BW_DEFAULT
|
|
||||||
/** @brief Set default bandwidth to 125kHz */
|
/** @brief Set default bandwidth to 125kHz */
|
||||||
|
#ifndef LORA_BW_DEFAULT
|
||||||
#define LORA_BW_DEFAULT (LORA_BW_125_KHZ)
|
#define LORA_BW_DEFAULT (LORA_BW_125_KHZ)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_SF_DEFAULT
|
|
||||||
/** @brief Set default spreading factor to 12 */
|
/** @brief Set default spreading factor to 12 */
|
||||||
|
#ifndef LORA_SF_DEFAULT
|
||||||
#define LORA_SF_DEFAULT (LORA_SF12)
|
#define LORA_SF_DEFAULT (LORA_SF12)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_CR_DEFAULT
|
|
||||||
/** @brief Set default coding rate to 8 */
|
/** @brief Set default coding rate to 8 */
|
||||||
|
#ifndef LORA_CR_DEFAULT
|
||||||
#define LORA_CR_DEFAULT (LORA_CR_4_8)
|
#define LORA_CR_DEFAULT (LORA_CR_4_8)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT
|
|
||||||
/** @brief Set fixed payload length on */
|
/** @brief Set fixed payload length on */
|
||||||
|
#ifndef LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT
|
||||||
#define LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT (false)
|
#define LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT (false)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_IQ_INVERTED_DEFAULT
|
|
||||||
/** @brief Set inverted IQ on */
|
/** @brief Set inverted IQ on */
|
||||||
|
#ifndef LORA_IQ_INVERTED_DEFAULT
|
||||||
#define LORA_IQ_INVERTED_DEFAULT (false)
|
#define LORA_IQ_INVERTED_DEFAULT (false)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_FREQUENCY_HOPPING_DEFAULT
|
|
||||||
/** @brief Frequency hopping on */
|
/** @brief Frequency hopping on */
|
||||||
|
#ifndef LORA_FREQUENCY_HOPPING_DEFAULT
|
||||||
#define LORA_FREQUENCY_HOPPING_DEFAULT (false)
|
#define LORA_FREQUENCY_HOPPING_DEFAULT (false)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT
|
|
||||||
/** @brief Frequency hopping period */
|
/** @brief Frequency hopping period */
|
||||||
|
#ifndef LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT
|
||||||
#define LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT (0U)
|
#define LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT (0U)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_FIXED_HEADER_LEN_MODE_DEFAULT
|
|
||||||
/** @brief Set fixed header length mode (implicit header) */
|
/** @brief Set fixed header length mode (implicit header) */
|
||||||
|
#ifndef LORA_FIXED_HEADER_LEN_MODE_DEFAULT
|
||||||
#define LORA_FIXED_HEADER_LEN_MODE_DEFAULT (false)
|
#define LORA_FIXED_HEADER_LEN_MODE_DEFAULT (false)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_PAYLOAD_CRC_ON_DEFAULT
|
|
||||||
/** @brief Enable payload CRC, optional */
|
/** @brief Enable payload CRC, optional */
|
||||||
|
#ifndef LORA_PAYLOAD_CRC_ON_DEFAULT
|
||||||
#define LORA_PAYLOAD_CRC_ON_DEFAULT (true)
|
#define LORA_PAYLOAD_CRC_ON_DEFAULT (true)
|
||||||
#endif
|
#endif
|
||||||
#ifndef LORA_PAYLOAD_LENGTH_DEFAULT
|
|
||||||
/** @brief Set payload length, unused with implicit header */
|
/** @brief Set payload length, unused with implicit header */
|
||||||
|
#ifndef LORA_PAYLOAD_LENGTH_DEFAULT
|
||||||
#define LORA_PAYLOAD_LENGTH_DEFAULT (0U)
|
#define LORA_PAYLOAD_LENGTH_DEFAULT (0U)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user