diff options
author | Mark Arigo <markarigo@gmail.com> | 2007-09-27 02:50:50 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2007-09-27 02:50:50 +0000 |
commit | 61a83c02a3f0812c54cc9c41d2c1002af4c63f9e (patch) | |
tree | 9fe5725b0f0dcfd8468e53799e6a00d0743699de /firmware/target/arm/usb-fw-pp502x.c | |
parent | d7c8cff3d827b5de1be4968aec623844a84a1b8c (diff) | |
download | rockbox-61a83c02a3f0812c54cc9c41d2c1002af4c63f9e.tar.gz rockbox-61a83c02a3f0812c54cc9c41d2c1002af4c63f9e.zip |
Sansa c200: fix system_reboot with some magic from the OF. Reboot to the OF when usb is inserted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14862 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/usb-fw-pp502x.c')
-rw-r--r-- | firmware/target/arm/usb-fw-pp502x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c index be37b8b710..a5afc20056 100644 --- a/firmware/target/arm/usb-fw-pp502x.c +++ b/firmware/target/arm/usb-fw-pp502x.c | |||
@@ -100,7 +100,8 @@ void usb_enable(bool on) | |||
100 | handling, which should be the same for all PP502x targets. */ | 100 | handling, which should be the same for all PP502x targets. */ |
101 | if (on) | 101 | if (on) |
102 | { | 102 | { |
103 | #if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined (IRIVER_H10_5GB) | 103 | #if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined (IRIVER_H10_5GB) ||\ |
104 | defined(SANSA_C200) | ||
104 | /* For the H10 and iPod, we can only do one thing with USB mode - reboot | 105 | /* For the H10 and iPod, we can only do one thing with USB mode - reboot |
105 | into the flash-based disk-mode. This does not return. */ | 106 | into the flash-based disk-mode. This does not return. */ |
106 | 107 | ||