mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 08:07:47 +00:00
[settings] fix DUA logging (#5095)
This commit is contained in:
@@ -85,6 +85,7 @@ build_all_features()
|
||||
|
||||
local options_1_2=(
|
||||
"-DOPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=1"
|
||||
"-DOPENTHREAD_CONFIG_DUA_ENABLE=1"
|
||||
)
|
||||
|
||||
export CPPFLAGS="${options[*]} -DOPENTHREAD_CONFIG_LOG_LEVEL=OT_LOG_LEVEL_NONE"
|
||||
|
||||
@@ -81,7 +81,7 @@ void SettingsBase::LogChildInfo(const char *aAction, const ChildInfo &aChildInfo
|
||||
#if OPENTHREAD_CONFIG_DUA_ENABLE
|
||||
void SettingsBase::LogDadInfo(const char *aAction, const DadInfo &aDadInfo) const
|
||||
{
|
||||
otLogInfoCore("Non-volatile: %s DadInfo {DadCounter:%2d}", aAction, aDadInfo.mDadCounter);
|
||||
otLogInfoCore("Non-volatile: %s DadInfo {DadCounter:%2d}", aAction, aDadInfo.GetDadCounter());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user