summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/system-pp502x.c2
-rw-r--r--firmware/target/arm/usb-fw-pp502x.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 5dfcfa9ea9..3c26305ccb 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -332,7 +332,7 @@ void system_init(void)
void system_reboot(void)
{
/* Reboot */
-#ifdef SANSA_C200
+#if defined(SANSA_E200) || defined(SANSA_C200)
CACHE_CTL &= ~CACHE_CTL_VECT_REMAP;
pp_i2c_send(AS3514_I2C_ADDR, DCDC15, 0x0); /* backlight off */
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c
index 84526c6863..7af699c064 100644
--- a/firmware/target/arm/usb-fw-pp502x.c
+++ b/firmware/target/arm/usb-fw-pp502x.c
@@ -57,7 +57,6 @@ void usb_init_device(void)
void usb_enable(bool on)
{
if (on) {
-#ifndef SANSA_E200
/* until we have native mass-storage mode, we want to reboot on
usb host connect */
#if defined(IRIVER_H10) || defined (IRIVER_H10_5GB)
@@ -79,7 +78,6 @@ void usb_enable(bool on)
system_reboot(); /* Reboot */
}
-#endif /* SANSA_E200 */
}
else
usb_core_exit();