rk27generic: fix charging_state()

Change-Id: Iefa7fa4f9b2e535e2ab9004ffe8eeb8adf203f4b
This commit is contained in:
Marcin Bukat 2012-07-10 09:35:01 +02:00
parent b43171dcdf
commit 5a89549c86

View file

@ -45,5 +45,5 @@ unsigned int power_input_status(void)
bool charging_state(void)
{
return true;
return (usb_detect() == USB_INSERTED);
}