1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2004-06-09 11:01:22 +00:00
parent 963f31a6a1
commit 9bcc351dd2

View file

@ -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 */