diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/rolo.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index d78078cdd7..5b69c3679f 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -130,8 +130,11 @@ int rolo_load(const char* filename) | |||
130 | system_init(); /* Initialize system for restart */ | 130 | system_init(); /* Initialize system for restart */ |
131 | i2c_init(); /* Init i2c bus - it seems like a good idea */ | 131 | i2c_init(); /* Init i2c bus - it seems like a good idea */ |
132 | ICR = IRQ0_EDGE_TRIGGER; /* Make IRQ0 edge triggered */ | 132 | ICR = IRQ0_EDGE_TRIGGER; /* Make IRQ0 edge triggered */ |
133 | #ifndef ARCHOS_PLAYER /* player is to be checked later */ | 133 | TSTR = 0xE0; /* disable all timers */ |
134 | PAIOR = 0x0FA0; /* needed when flashed, probably model-specific */ | 134 | /* model-specific de-init, needed when flashed */ |
135 | /* Especially the Archos software is picky about this */ | ||
136 | #if defined(ARCHOS_RECORDER) || defined(ARCHOS_RECORDERV2) || defined(ARCHOS_FMRECORDER) | ||
137 | PAIOR = 0x0FA0; | ||
135 | #endif | 138 | #endif |
136 | 139 | ||
137 | rolo_restart(mp3buf, ramstart, length); | 140 | rolo_restart(mp3buf, ramstart, length); |