From e7e7af7b67b9dbdc1052a7558fd0bea8347a1334 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 21 Jan 2016 22:21:26 +0100 Subject: [PATCH] remove EMBEDDED guard in btstack_debug.h --- src/btstack_debug.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/btstack_debug.h b/src/btstack_debug.h index 7e69eb4cb..ba5aac8ec 100644 --- a/src/btstack_debug.h +++ b/src/btstack_debug.h @@ -53,13 +53,8 @@ #include #endif -#ifndef EMBEDDED // Avoid complaints of unused arguments when log levels are disabled. -static inline void __log_unused(const char *format, ...) { -} -#else -#define __log_unused(...) -#endif +static inline void __log_unused(const char *format, ...) {} #ifdef __AVR__ #define HCI_DUMP_LOG(log_level, format, ...) hci_dump_log_P(log_level, PSTR(format), ## __VA_ARGS__)