aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2019-04-29 11:28:55 -0400
committerClyne Sullivan <tullivan99@gmail.com>2019-04-29 11:28:55 -0400
commit728c98d9870d472a7497f23a864ef37ed6f46169 (patch)
treec229f547f97f2cb8902786a9124499ba9dfd5a2f /main.c
parentea4ee734b20dbc5511beb9ec400fb7ffe52ea87e (diff)
delay draft
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);
}