diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-11 23:51:00 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-11 23:51:00 +0000 |
commit | 8636e6949e802556da1588b814e454155358df90 (patch) | |
tree | fb668ba4b210d21185ee6f46a8e80e61171af8bf /firmware/target/sh/archos/recorder/usb-recorder.c | |
parent | b16137e10b0b309ccd9bf81fb2d70f24b090aa7d (diff) | |
download | rockbox-8636e6949e802556da1588b814e454155358df90.tar.gz rockbox-8636e6949e802556da1588b814e454155358df90.zip |
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh/archos/recorder/usb-recorder.c')
-rw-r--r-- | firmware/target/sh/archos/recorder/usb-recorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/sh/archos/recorder/usb-recorder.c b/firmware/target/sh/archos/recorder/usb-recorder.c index 2934b32a3c..7ed237068e 100644 --- a/firmware/target/sh/archos/recorder/usb-recorder.c +++ b/firmware/target/sh/archos/recorder/usb-recorder.c | |||
@@ -30,7 +30,7 @@ bool usb_detect(void) | |||
30 | 30 | ||
31 | void usb_enable(bool on) | 31 | void usb_enable(bool on) |
32 | { | 32 | { |
33 | if(read_hw_mask() & USB_ACTIVE_HIGH) | 33 | if(HW_MASK & USB_ACTIVE_HIGH) |
34 | on = !on; | 34 | on = !on; |
35 | 35 | ||
36 | if(on) | 36 | if(on) |