Rename project to insert it into nightly test.
[bertos.git] / wizard / srctemplates / main.c
index 0a2fa1ab521d1fa3b78727f5ef1cfa9c5276522b..4cdee7082c873d37cf87e0a34ce6c141cb208e09 100644 (file)
@@ -1,7 +1,20 @@
-// Emtpy main.c file generated by the wizard
+// Empty main.c file generated by the wizard
+#include <cpu/irq.h>
+
+static void init(void)
+{
+       IRQ_ENABLE;
+       // insert initialization calls here
+}
 
 int main(void)
 {
-    return 0;
+       init();
+       while (1)
+       {
+               // your code goes here
+       }
+
+       return 0;
 }