From 1ec821244afc4f671c0c94519cd3a70b2777bf74 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 23 Jun 2010 05:08:36 +0000 Subject: Sansa AMS bootloader: enter USB mode only when needed - If an error happens when reading partitions / rockbox.sansa - If the select button was pressed add an argument to error() to not power off, when we're going to enter USB mode to try to fix the problem, but display the error message anyway for debugging purpose git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27075 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/main-e200r-installer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootloader/main-e200r-installer.c') diff --git a/bootloader/main-e200r-installer.c b/bootloader/main-e200r-installer.c index defdea4574..178a03b42e 100644 --- a/bootloader/main-e200r-installer.c +++ b/bootloader/main-e200r-installer.c @@ -124,7 +124,7 @@ void* main(void) if (num_partitions<=0) { - error(EDISK,num_partitions); + error(EDISK, num_partitions, true); } pinfo = disk_partinfo(1); -- cgit v1.2.3