diff --git a/examples/platforms/samr21/logging.c b/examples/platforms/samr21/logging.c index 89074b3d4..0cbb7792f 100644 --- a/examples/platforms/samr21/logging.c +++ b/examples/platforms/samr21/logging.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, The OpenThread Authors. + * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -27,21 +27,19 @@ */ /** - * @file - * This file implements the OpenThread platform abstraction for logging. + * @file logging.c + * Platform abstraction for the logging * */ - -#include +#include +#include #include -#if (OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT == 0) - +#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...) { (void)aLogLevel; (void)aLogRegion; (void)aFormat; } - -#endif // (OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT == 0) +#endif