From 9bcc351dd237508c49261d4fd5f1c05e525634a7 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 9 Jun 2004 11:01:22 +0000 Subject: Ooops! I wrote garbage to the MAS when stopping the recording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4724 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/mpeg.c b/firmware/mpeg.c index cafe54d045..e1ac4f60d7 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -2284,7 +2284,7 @@ static void stop_recording(void) /* Start monitoring */ shadow_7f1 |= (1 << 10); - mas_writemem(MAS_BANK_D0, 0x7f1, &val, 1); + mas_writemem(MAS_BANK_D0, 0x7f1, &shadow_7f1, 1); DEBUGF("mas_writemem(MAS_BANK_D0, 0x7f1, %x)\n", shadow_7f1); /* Wait until the DSP has accepted the settings */ -- cgit v1.2.3