mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 13:47:47 +00:00
[logs] compile Mac::Frame::ToInfoString at NOTE log level (#3962)
This fixes a linker error when buiding with OT_LOG_LEVEL_NOTE. MeshForwarder depends on Mac::Frame::ToInfoString at the NOTE level.
This commit is contained in:
@@ -1060,7 +1060,7 @@ uint16_t Frame::GetFcsSize(void) const
|
||||
|
||||
// LCOV_EXCL_START
|
||||
|
||||
#if (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_INFO) && (OPENTHREAD_CONFIG_LOG_MAC == 1)
|
||||
#if (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_NOTE) && (OPENTHREAD_CONFIG_LOG_MAC == 1)
|
||||
|
||||
Frame::InfoString Frame::ToInfoString(void) const
|
||||
{
|
||||
@@ -1136,7 +1136,7 @@ BeaconPayload::InfoString BeaconPayload::ToInfoString(void) const
|
||||
IsNative() ? "yes" : "no");
|
||||
}
|
||||
|
||||
#endif // #if (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_INFO) && (OPENTHREAD_CONFIG_LOG_MAC == 1)
|
||||
#endif // #if (OPENTHREAD_CONFIG_LOG_LEVEL >= OT_LOG_LEVEL_NOTE) && (OPENTHREAD_CONFIG_LOG_MAC == 1)
|
||||
|
||||
// LCOV_EXCL_STOP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user