diff options
author | Christian Koch <christian_koch@gmx.de> | 2012-05-06 15:29:24 +0200 |
---|---|---|
committer | Christian Koch <christian_koch@gmx.de> | 2012-05-06 15:29:24 +0200 |
commit | f7a48dc590f5e8bf2d6d9d92248734566c175cf2 (patch) | |
tree | b8c5f2f5b60ec9e39a5f3dd80566533ad74e86ea /main.c | |
parent | f714cacefc9a04fbae7249cc4b707a27cedabc36 (diff) |
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -186,7 +186,7 @@ static void perform(void) extern void __vectors(void) __attribute__((noreturn));
__attribute__ ((noreturn))
-SIGNAL (ANA_COMP_vect)
+ISR (ANA_COMP_vect)
{
PORTA = 0xff;
@@ -200,7 +200,8 @@ SIGNAL (ANA_COMP_vect) __vectors();
}
-int main( void )
+int __attribute__((OS_main)) +main( void )
{
PORTA = 0xFF; // enable pull ups
|