Renamed range check macro
This commit is contained in:
parent
83b713b776
commit
43295e6827
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@
|
||||||
/*!
|
/*!
|
||||||
\brief Macro to check variable is within constraints - this is commonly used to check parameter ranges.
|
\brief Macro to check variable is within constraints - this is commonly used to check parameter ranges.
|
||||||
*/
|
*/
|
||||||
#define RADIOLIB_CHECK_CONSTRAINTS(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
|
#define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
|
||||||
|
|
||||||
|
|
||||||
// version definitions
|
// version definitions
|
||||||
|
|
Loading…
Add table
Reference in a new issue