diff --git a/examples/platforms/samr21/logging.c b/examples/platforms/samr21/logging.c index a8f938aa9..45177afae 100644 --- a/examples/platforms/samr21/logging.c +++ b/examples/platforms/samr21/logging.c @@ -32,20 +32,20 @@ * */ -#include +#include "openthread-core-config.h" + #include -#include #include #include +#include "board.h" +#include "spi.h" + #if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) || \ (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_NCP_SPINEL) #if BOARD == SAMR21_XPLAINED_PRO -#include "board.h" -#include "spi.h" - #define LOG_PARSE_BUFFER_SIZE 128 #define LOG_TIMESTAMP_ENABLE 1