summaryrefslogtreecommitdiffstats
path: root/firmware/logf.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-05-23 14:30:20 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-05-23 14:30:20 +0000
commitc61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3 (patch)
treef9056ad1a886d1741b009a6d026b689e18040a17 /firmware/logf.c
parentbca3d3dca44bbe111d8e8595932d2a9491679dab (diff)
downloadrockbox-c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3.tar.gz
rockbox-c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3.tar.bz2
rockbox-c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3.zip
Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index 75aaf31e64..a704ad2d67 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -135,7 +135,7 @@ void _logf(const char *format, ...)
serial_tx(buf);
serial_tx("\r\n");
#endif
-#ifdef USB_SERIAL
+#ifdef USB_ENABLE_SERIAL
usb_serial_send(buf, len);
usb_serial_send("\r\n", 2);
#endif