aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-20 08:52:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-20 08:52:51 +0000
commit8252b4febd928718c4b416d7be262afa6a39075f (patch)
tree3b5b40f68de13e8d8ebe2bc66c4ab0b7d66b0907 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
parentd03d6513d0d24cf63225c8d3dfa07675d9107f40 (diff)
downloadlufa-8252b4febd928718c4b416d7be262afa6a39075f.tar.gz
lufa-8252b4febd928718c4b416d7be262afa6a39075f.tar.bz2
lufa-8252b4febd928718c4b416d7be262afa6a39075f.zip
Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski).
Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
index 71b87dd38..282fcbc7f 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
@@ -44,7 +44,7 @@
#include "BluetoothClassCodes.h"
/* Macros: */
- #define BT_HCI_DEBUG(l, s, ...) do { if (HCI_DEBUG_LEVEL >= l) printf_P(PSTR("(HCI) " s "\r\n"), __VA_ARGS__); } while (0)
+ #define BT_HCI_DEBUG(l, s, ...) do { if (HCI_DEBUG_LEVEL >= l) printf_P(PSTR("(HCI) " s "\r\n"), ##__VA_ARGS__); } while (0)
#define HCI_DEBUG_LEVEL 0
#define OGF_LINK_CONTROL 0x01