forked from len0rd/rockbox
Replaced remaining '#pragma interrupt' with __attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
171b5ff207
commit
a7c20ac760
3 changed files with 8 additions and 8 deletions
|
@ -60,7 +60,7 @@ static void adc_tick(void)
|
|||
ADCSR = ADCSR_ADST | ADCSR_ADIE | ADCSR_SCAN | 3;
|
||||
}
|
||||
|
||||
#pragma interrupt
|
||||
void ADITI(void) __attribute__((interrupt_handler));
|
||||
void ADITI(void)
|
||||
{
|
||||
if(ADCSR & ADCSR_ADF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue