summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-22 18:19:05 +0700
committerhathach <[email protected]>2013-01-22 18:25:26 +0700
commitb5207ff146c1a71b2cfe65e34292496c42de34f2 (patch)
tree267391a825944dc6926d628445ba7aaa4ccb5c63 /tinyusb/class/hid_host.c
parent3ffda2033a55093a1b1667ed22f523a9a8a6a3d4 (diff)
use unsigned char instead of char for error string
use #if 0 instead of // for remove code
Diffstat (limited to 'tinyusb/class/hid_host.c')
-rw-r--r--tinyusb/class/hid_host.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c
index dbf19b9f9..c4ae20008 100644
--- a/tinyusb/class/hid_host.c
+++ b/tinyusb/class/hid_host.c
@@ -35,9 +35,11 @@
* This file is part of the tiny usb stack.
*/
-#include "hid_host.h"
+#include "common/common.h"
+
+#if defined TUSB_CFG_HOST && defined DEVICE_CLASS_HID
-#if defined DEVICE_CLASS_HID && defined TUSB_CFG_HOST
+#include "hid_host.h"
tusb_error_t tusbh_keyboard_get(tusb_handle_configure_t const config_hdl, tusb_keyboard_report_t * const report)
{