Moved new status codes to SX126x-specific errors

This commit is contained in:
jgromes 2019-12-05 14:38:02 +01:00
parent be9a4e0d61
commit 8a4cae9411

View file

@ -305,21 +305,6 @@
*/ */
#define ERR_INVALID_ENCODING -23 #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 // RF69-specific status codes
/*! /*!
@ -539,6 +524,21 @@
*/ */
#define ERR_SPI_CMD_FAILED -707 #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
/*! /*!
\} \}
*/ */