Oops, too many files were committed in r22025, revert this one. The other changes committed as r22025 were initial button and audio drivers for the Nano2G - more work is needed on both, but they work.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2009-07-25 00:54:31 +00:00
parent 5b3f333dd7
commit 332da92189

View file

@ -96,15 +96,12 @@ void irq_handler(void)
"sub sp, sp, #8 \n"); /* Reserve stack */
int irq_no = INTOFFSET;
int sources = SRCPND;
if (irq_no==10) { INTMSK &= ~(1<<10); }
irqvector[irq_no]();
/* clear interrupt */
SRCPND = sources;
INTPND = sources;
SRCPND = (1 << irq_no);
INTPND = INTPND;
asm volatile( "add sp, sp, #8 \n" /* Cleanup stack */
"ldmfd sp!, {r0-r7, ip, lr} \n" /* Restore context */