summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-22 14:47:59 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-22 14:47:59 -0400
commitf60fcd1bb7b1044a7da5f6ecff89289f091a2773 (patch)
treec22a6a5b32b8427d90f07578343e3e42f8d36559 /src/init.c
parentc16eeb08e60e724b77bdf173a324175039d4019a (diff)
hey
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/init.c b/src/init.c
index f3948f0..24b5b50 100644
--- a/src/init.c
+++ b/src/init.c
@@ -1,15 +1,11 @@
-#include "main.h"
+#include <main.h>
-Gyro gyro;
-unsigned int imeCount=0;
+unsigned int imeCount;
-void initializeIO(void){
- pinMode(1,INPUT_ANALOG);
+void initializeIO(){
+ pinMode(ANALOG_PORT(1),INPUT_ANALOG);
}
-void initialize(void){
- lcdInit(uart1);
- lcdClear(uart1);
- gyro=gyroInit(2,0);
- imeCount=imeInitializeAll();
+void initialize(){
+ imeCount = imeInitializeAll();
}