power-meizu.c: fix usage of USB_TR name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23341 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
094dd2b716
commit
7e35619fb6
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void power_init(void)
|
|||
unsigned int power_input_status(void)
|
||||
{
|
||||
/* check VBUS in the USB2.0 function controller */
|
||||
if (TR & (1 << 15)) {
|
||||
if (USB_TR & (1 << 15)) {
|
||||
return POWER_INPUT_USB;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue