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:
parent
7557d5679d
commit
13c6086b71
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue