summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorChristian Koch <christian_koch@gmx.de>2012-05-06 15:29:24 +0200
committerChristian Koch <christian_koch@gmx.de>2012-05-06 15:29:24 +0200
commitf7a48dc590f5e8bf2d6d9d92248734566c175cf2 (patch)
treeb8c5f2f5b60ec9e39a5f3dd80566533ad74e86ea /main.c
parentf714cacefc9a04fbae7249cc4b707a27cedabc36 (diff)
added hardware documentation, minor software changesHEADmaster
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