Added user build opt

This commit is contained in:
jgromes 2023-03-17 23:01:24 +01:00
parent fb6bbee4fa
commit b9b3171001
2 changed files with 34 additions and 0 deletions

11
src/BuildOptUser.h Normal file
View 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

View file

@ -2,6 +2,7 @@
#define _RADIOLIB_TYPES_H
#include "BuildOpt.h"
#include "BuildOptUser.h"
/*!
\defgroup config_shaping Data shaping filter values aliases.
@ -312,6 +313,28 @@
*/
#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
/*!