summaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
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();
}