From ab232fc65a1c9a99ffbf680fb47453e8d6a6d9f1 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 14 Oct 2004 23:40:58 +0000 Subject: Disabling all timers on rolo fixes the problems with roloed Archos firmware on Ondio. It's probably a good idea to do this for all models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5277 a1c6a512-1295-4272-9138-f99709370657 --- firmware/rolo.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware/rolo.c') 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) system_init(); /* Initialize system for restart */ i2c_init(); /* Init i2c bus - it seems like a good idea */ ICR = IRQ0_EDGE_TRIGGER; /* Make IRQ0 edge triggered */ -#ifndef ARCHOS_PLAYER /* player is to be checked later */ - PAIOR = 0x0FA0; /* needed when flashed, probably model-specific */ + TSTR = 0xE0; /* disable all timers */ + /* model-specific de-init, needed when flashed */ + /* Especially the Archos software is picky about this */ +#if defined(ARCHOS_RECORDER) || defined(ARCHOS_RECORDERV2) || defined(ARCHOS_FMRECORDER) + PAIOR = 0x0FA0; #endif rolo_restart(mp3buf, ramstart, length); -- cgit v1.2.3