aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.c b/main.c
index 257cebf..8a4b74a 100644
--- a/main.c
+++ b/main.c
@@ -19,6 +19,7 @@
*/
#include "board.h"
+#include "delay.h"
#include "temp.h"
void main(void)
@@ -26,9 +27,12 @@ void main(void)
// Prepare processor and IO
boardInit();
+ delayInit();
+ __enable_interrupt();
+
// Prepare temperature sensor
- if (tempInit() != 0)
- while (1); // Sensor error, halt
+ //if (tempInit() != 0)
+ // while (1); // Sensor error, halt
while (1);
}