mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Redefine log level when CONF_WINC_DEBUG is enabled.
This commit is contained in:
parent
096361c711
commit
8c0e1603eb
@ -71,6 +71,8 @@
|
||||
#define M2M_PRINT(...)
|
||||
|
||||
#if (CONF_WINC_DEBUG == 1)
|
||||
#undef M2M_LOG_LEVEL
|
||||
#define M2M_LOG_LEVEL M2M_LOG_DBG
|
||||
#undef M2M_PRINT
|
||||
#define M2M_PRINT(...) do{CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0)
|
||||
#if (M2M_LOG_LEVEL >= M2M_LOG_ERROR)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user