mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
logging: otSetDynamicLogLevel() returning OT_ERROR_DISABLED_FEATURE when not enabled. (#1832)
This commit is contained in:
committed by
Jonathan Hui
parent
be218c4cc1
commit
26fabd3a70
@@ -239,7 +239,7 @@ otError otSetDynamicLogLevel(otInstance *aInstance, otLogLevel aLogLevel)
|
||||
#if OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL
|
||||
aInstance->mLogLevel = aLogLevel;
|
||||
#else
|
||||
error = OT_ERROR_NOT_CAPABLE;
|
||||
error = OT_ERROR_DISABLED_FEATURE;
|
||||
(void)aInstance;
|
||||
(void)aLogLevel;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user