From 9c33dca6479d41d1745e6007bca97fe11c9b8db1 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 8 May 2011 11:37:18 +0000 Subject: Fix tabs in .c and .h files in firmware/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29832 a1c6a512-1295-4272-9138-f99709370657 --- firmware/usbstack/usb_core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/usbstack') diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index aa96fff..60a81b8 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c @@ -828,8 +828,8 @@ static void usb_core_control_request_handler(struct usb_ctrlrequest* req) #ifdef HAVE_USB_CHARGING_ENABLE timeout_cancel(&usb_no_host_timeout); if(usb_no_host) { - usb_no_host = false; - usb_charging_maxcurrent_change(usb_charging_maxcurrent()); + usb_no_host = false; + usb_charging_maxcurrent_change(usb_charging_maxcurrent()); } #endif if(usb_state == DEFAULT) { @@ -918,9 +918,9 @@ int usb_charging_maxcurrent() if (!initialized || usb_charging_mode == USB_CHARGING_DISABLE) return 100; if (usb_state == CONFIGURED) - return usb_charging_current_requested; + return usb_charging_current_requested; if (usb_charging_mode == USB_CHARGING_FORCE && usb_no_host) - return 500; + return 500; return 100; } #endif -- cgit v1.1