summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index c5e4bd2..eec2401 100644
--- a/main.c
+++ b/main.c
@@ -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