From 61a83c02a3f0812c54cc9c41d2c1002af4c63f9e Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Thu, 27 Sep 2007 02:50:50 +0000 Subject: 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 --- firmware/target/arm/usb-fw-pp502x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/usb-fw-pp502x.c') 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) handling, which should be the same for all PP502x targets. */ if (on) { -#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined (IRIVER_H10_5GB) +#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined (IRIVER_H10_5GB) ||\ + defined(SANSA_C200) /* For the H10 and iPod, we can only do one thing with USB mode - reboot into the flash-based disk-mode. This does not return. */ -- cgit v1.2.3