FS#10236 - Fix USB charging only can't be replaced by HID class driver

Attached to Project: Rockbox
Opened by Tomer Shalev (tomers) - Saturday, 23 May 2009, 05:43 GMT
Last edited by Frank Gevaerts (fg) - Saturday, 23 May 2009, 12:42 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As part of my GSoC project, I works on using the USB HID class driver.
Since this driver is to be used by default, there is no need to have the charging-only class driver, which is in fact just a stub.

We encountered issues trying to disable the charging only driver. This patch fixes the bug which causes it, which is merely a wrongly placed #endif.
This task depends upon

Closed by  Frank Gevaerts (fg)
Saturday, 23 May 2009, 12:42 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as r21052. Thanks!