1
0
Fork 0
forked from len0rd/rockbox

Fix wrong #ifdefs that sneaked in

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-05-23 15:05:01 +00:00
parent 7557d5679d
commit 13c6086b71

View file

@ -36,7 +36,7 @@
#include "usb.h"
#if defined(HAVE_USBSTACK)
#include "usb_core.h"
#ifdef USB_CLASS_HID
#ifdef USB_ENABLE_HID
#include "usbstack/usb_hid.h"
#endif
#endif
@ -111,7 +111,7 @@ static int handle_usb_events(void)
while(1)
{
int button;
#if defined(HAVE_USBSTACK) && defined(USB_CLASS_HID)
#if defined(HAVE_USBSTACK) && defined(USB_ENABLE_HID)
bool hid_enabled = usb_core_driver_enabled(USB_DRIVER_HID);
if (hid_enabled)