Added user build opt
This commit is contained in:
parent
fb6bbee4fa
commit
b9b3171001
2 changed files with 34 additions and 0 deletions
11
src/BuildOptUser.h
Normal file
11
src/BuildOptUser.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#if !defined(_RADIOLIB_USER_BUILD_OPTIONS_H)
|
||||||
|
#define _RADIOLIB_USER_BUILD_OPTIONS_H
|
||||||
|
|
||||||
|
// this file can be used to define any user build options
|
||||||
|
// most commonly, RADIOLIB_EXCLUDE_* macros
|
||||||
|
// or enabling debug output
|
||||||
|
|
||||||
|
//#define RADIOLIB_DEBUG
|
||||||
|
//#define RADIOLIB_VERBOSE
|
||||||
|
|
||||||
|
#endif
|
|
@ -2,6 +2,7 @@
|
||||||
#define _RADIOLIB_TYPES_H
|
#define _RADIOLIB_TYPES_H
|
||||||
|
|
||||||
#include "BuildOpt.h"
|
#include "BuildOpt.h"
|
||||||
|
#include "BuildOptUser.h"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\defgroup config_shaping Data shaping filter values aliases.
|
\defgroup config_shaping Data shaping filter values aliases.
|
||||||
|
@ -312,6 +313,28 @@
|
||||||
*/
|
*/
|
||||||
#define RADIOLIB_ERR_MIC_E_TELEMETRY_STATUS (-204)
|
#define RADIOLIB_ERR_MIC_E_TELEMETRY_STATUS (-204)
|
||||||
|
|
||||||
|
// SSDV status codes
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief SSDV mode is invalid.
|
||||||
|
*/
|
||||||
|
#define RADIOLIB_ERR_INVALID_SSDV_MODE (-301)
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Image size is invalid.
|
||||||
|
*/
|
||||||
|
#define RADIOLIB_ERR_INVALID_IMAGE_SIZE (-302)
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Image quality is invalid.
|
||||||
|
*/
|
||||||
|
#define RADIOLIB_ERR_INVALID_IMAGE_QUALITY (-303)
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Image subsampling is invalid.
|
||||||
|
*/
|
||||||
|
#define RADIOLIB_ERR_INVALID_SUBSAMPLING (-304)
|
||||||
|
|
||||||
// RTTY status codes
|
// RTTY status codes
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Add table
Reference in a new issue