From 427eb62ac4411f1332781357c960460efa994c8f Mon Sep 17 00:00:00 2001 From: neingeist Date: Sat, 3 Apr 2010 18:38:55 +0200 Subject: [PATCH] declare main correctly --- projekte/protothreads/example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projekte/protothreads/example.c b/projekte/protothreads/example.c index 816bb68..1fe70d5 100644 --- a/projekte/protothreads/example.c +++ b/projekte/protothreads/example.c @@ -73,7 +73,7 @@ protothread2(struct pt *pt) static struct pt pt1, pt2; -int main() { +int main(void) { // pin 11 = PB3 DDRB |= _BV(PB3); // pin 10 = PB2