diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-10-25 09:54:23 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-10-25 09:54:23 +0000 |
commit | 7e35619fb696dfb08820e4fc6ea750cf23a6ea2c (patch) | |
tree | 8b5979853c6b8870b23efe7abe948050df5758e1 /firmware/target | |
parent | 094dd2b716add372c2334f45d41fdb6591efd4b1 (diff) |
power-meizu.c: fix usage of USB_TR name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23341 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/s5l8700/power-meizu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/power-meizu.c b/firmware/target/arm/s5l8700/power-meizu.c index 516bfc976d..49458e50ba 100644 --- a/firmware/target/arm/s5l8700/power-meizu.c +++ b/firmware/target/arm/s5l8700/power-meizu.c @@ -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; } |