MSVC compilation fix

This commit is contained in:
Bertrand Songis
2019-12-18 15:28:27 +01:00
parent 0f0779b56a
commit c91bf2afe9
+5 -5
View File
@@ -50,12 +50,12 @@ enum BluetoothStates {
#define BLUETOOTH_LINE_LENGTH 32
#if defined(LOG_BLUETOOTH)
#define BLUETOOTH_TRACE(str, ...) \
f_printf(&g_bluetoothFile, str, ##__VA_ARGS__); \
TRACE_NOCRLF(str, ##__VA_ARGS__);
#define BLUETOOTH_TRACE(...) \
f_printf(&g_bluetoothFile, __VA_ARGS__); \
TRACE_NOCRLF(__VA_ARGS__);
#else
#define BLUETOOTH_TRACE(str, ...) \
TRACE_NOCRLF(str, ##__VA_ARGS__);
#define BLUETOOTH_TRACE(...) \
TRACE_NOCRLF(__VA_ARGS__);
#endif
class Bluetooth