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
|
||||
#define HASP_CONF_H
|
||||
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#ifdef USE_CONFIG_OVERRIDE
|
||||
#include "user_config_override.h"
|
||||
#endif
|
||||
|
@ -4,6 +4,8 @@
|
||||
#ifndef HASP_MACRO_H
|
||||
#define HASP_MACRO_H
|
||||
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#ifdef USE_CONFIG_OVERRIDE
|
||||
#include "user_config_override.h"
|
||||
#endif
|
||||
@ -12,8 +14,6 @@
|
||||
#define LOG_OUTPUT(x, ...) printf(__VA_ARGS__)
|
||||
#else
|
||||
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#ifndef HASP_LOG_LEVEL
|
||||
#define HASP_LOG_LEVEL LOG_LEVEL_TRACE
|
||||
#endif
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#ifdef USE_CONFIG_OVERRIDE
|
||||
#include "user_config_override.h"
|
||||
#endif
|
||||
|
@ -68,7 +68,6 @@ build_flags =
|
||||
-D HASP_VER_MIN=6
|
||||
;-D HASP_VER_REV=3
|
||||
-D HASP_VER_REV=3-dev
|
||||
-D HASP_LOG_LEVEL=7
|
||||
${override.build_flags}
|
||||
|
||||
; -- Shared library dependencies in all environments
|
||||
|
Loading…
x
Reference in New Issue
Block a user