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:
Bertrik Sikken 2009-10-25 09:54:23 +00:00
parent 094dd2b716
commit 7e35619fb6

View file

@ -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;
}