mirror of
https://github.com/espressif/openthread.git
synced 2026-07-24 21:14:06 +00:00
[mle-router] update #if for logging the router list to be conditional of log level (#2122)
This commit is contained in:
committed by
Jonathan Hui
parent
91d1055d5a
commit
cf8a789e24
@@ -1610,7 +1610,7 @@ void MleRouter::UpdateRoutes(const RouteTlv &aRoute, uint8_t aRouterId)
|
||||
}
|
||||
while (update);
|
||||
|
||||
#if 1
|
||||
#if (OPENTHREAD_CONFIG_LOG_MLE && (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_DEBG))
|
||||
|
||||
for (uint8_t i = 0; i <= kMaxRouterId; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user