From 8a4cae94113634b0f8197e1a99922c7d5b3f3787 Mon Sep 17 00:00:00 2001 From: jgromes Date: Thu, 5 Dec 2019 14:38:02 +0100 Subject: [PATCH] Moved new status codes to SX126x-specific errors --- src/TypeDef.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/TypeDef.h b/src/TypeDef.h index a6e3f245..c7ab81d7 100644 --- a/src/TypeDef.h +++ b/src/TypeDef.h @@ -305,21 +305,6 @@ */ #define ERR_INVALID_ENCODING -23 -/*! - \brief The supplied sleep period is invalid. - - The specified sleep period is shorter than the time necessary to sleep and wake the hardware - including TCXO delay, or longer than the maximum possible -*/ -#define ERR_INVALID_SLEEP_PERIOD -24 - -/*! - \brief The supplied Rx period is invalid. - - The specified Rx period is shorter or longer than the hardware can handle. -*/ -#define ERR_INVALID_RX_PERIOD -25 - // RF69-specific status codes /*! @@ -539,6 +524,21 @@ */ #define ERR_SPI_CMD_FAILED -707 +/*! + \brief The supplied sleep period is invalid. + + The specified sleep period is shorter than the time necessary to sleep and wake the hardware + including TCXO delay, or longer than the maximum possible +*/ +#define ERR_INVALID_SLEEP_PERIOD -708 + +/*! + \brief The supplied Rx period is invalid. + + The specified Rx period is shorter or longer than the hardware can handle. +*/ +#define ERR_INVALID_RX_PERIOD -709 + /*! \} */