=== modified file 'bootloader/ipodnano2g.c'
--- bootloader/ipodnano2g.c 2010-02-17 15:57:53 +0000
+++ bootloader/ipodnano2g.c 2010-04-30 16:18:52 +0000
@@ -65,7 +65,8 @@
bool holdstatus=false;
/* System font is 6 pixels wide */
- printf("Hold MENU+SELECT to");
+ printf("Insert USB cable, or");
+ printf("hold MENU+SELECT to");
printf("reboot then SELECT+PLAY");
printf("for disk mode");
lcd_update();
@@ -81,6 +82,10 @@
}
lcd_update();
}
+ if (power_input_status() == POWER_INPUT_MAIN_CHARGER) {
+ memcpy((void *)0x0002bf00, "diskmodehotstuff\1\0\0\0", 20);
+ system_reboot();
+ }
}
}