From 38b64f7b4b159148ccd0071b18acf4e174d3693e Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sun, 4 Mar 2007 16:06:54 +0000 Subject: Get rid of C99 style variable declaration. Also, add one more use of #define instead of inl/outl that I missed last time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12591 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/pcm-pp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index d8eecadc9b..8b2186a7ba 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c @@ -451,7 +451,7 @@ void pcm_rec_dma_start(void *addr, size_t size) p = addr; /* setup FIQ */ - outl(inl(0x6000402c) | I2S_MASK, 0x6000402c); + CPU_INT_PRIORITY |= I2S_MASK; CPU_INT_EN = I2S_MASK; /* interrupt on full fifo */ -- cgit v1.2.3