summaryrefslogtreecommitdiffstats
path: root/firmware/usbstack
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-05-08 11:37:18 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-05-08 11:37:18 +0000
commit9c33dca6479d41d1745e6007bca97fe11c9b8db1 (patch)
tree54923d3c5ec138041e84acfb46e6469e23763e80 /firmware/usbstack
parent897fd9282781d2f90dc4193cca908f1b17e00cb0 (diff)
downloadrockbox-9c33dca6479d41d1745e6007bca97fe11c9b8db1.tar.gz
rockbox-9c33dca6479d41d1745e6007bca97fe11c9b8db1.tar.bz2
rockbox-9c33dca6479d41d1745e6007bca97fe11c9b8db1.zip
Fix tabs in .c and .h files in firmware/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29832 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c
index aa96fff17f..60a81b84a1 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