mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 21:26:43 +00:00
Allow HASP_LOG_LEVEL as override
This commit is contained in:
parent
188c92c459
commit
f4e408d1c5
@ -4,6 +4,8 @@
|
|||||||
#ifndef HASP_CONF_H
|
#ifndef HASP_CONF_H
|
||||||
#define HASP_CONF_H
|
#define HASP_CONF_H
|
||||||
|
|
||||||
|
#include "ArduinoLog.h"
|
||||||
|
|
||||||
#ifdef USE_CONFIG_OVERRIDE
|
#ifdef USE_CONFIG_OVERRIDE
|
||||||
#include "user_config_override.h"
|
#include "user_config_override.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#ifndef HASP_MACRO_H
|
#ifndef HASP_MACRO_H
|
||||||
#define HASP_MACRO_H
|
#define HASP_MACRO_H
|
||||||
|
|
||||||
|
#include "ArduinoLog.h"
|
||||||
|
|
||||||
#ifdef USE_CONFIG_OVERRIDE
|
#ifdef USE_CONFIG_OVERRIDE
|
||||||
#include "user_config_override.h"
|
#include "user_config_override.h"
|
||||||
#endif
|
#endif
|
||||||
@ -12,8 +14,6 @@
|
|||||||
#define LOG_OUTPUT(x, ...) printf(__VA_ARGS__)
|
#define LOG_OUTPUT(x, ...) printf(__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include "ArduinoLog.h"
|
|
||||||
|
|
||||||
#ifndef HASP_LOG_LEVEL
|
#ifndef HASP_LOG_LEVEL
|
||||||
#define HASP_LOG_LEVEL LOG_LEVEL_TRACE
|
#define HASP_LOG_LEVEL LOG_LEVEL_TRACE
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#include "ArduinoLog.h"
|
||||||
|
|
||||||
#ifdef USE_CONFIG_OVERRIDE
|
#ifdef USE_CONFIG_OVERRIDE
|
||||||
#include "user_config_override.h"
|
#include "user_config_override.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -68,7 +68,6 @@ build_flags =
|
|||||||
-D HASP_VER_MIN=6
|
-D HASP_VER_MIN=6
|
||||||
;-D HASP_VER_REV=3
|
;-D HASP_VER_REV=3
|
||||||
-D HASP_VER_REV=3-dev
|
-D HASP_VER_REV=3-dev
|
||||||
-D HASP_LOG_LEVEL=7
|
|
||||||
${override.build_flags}
|
${override.build_flags}
|
||||||
|
|
||||||
; -- Shared library dependencies in all environments
|
; -- Shared library dependencies in all environments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user