diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-22 14:47:59 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-22 14:47:59 -0400 |
commit | f60fcd1bb7b1044a7da5f6ecff89289f091a2773 (patch) | |
tree | c22a6a5b32b8427d90f07578343e3e42f8d36559 /src/init.c | |
parent | c16eeb08e60e724b77bdf173a324175039d4019a (diff) |
hey
Diffstat (limited to 'src/init.c')
-rw-r--r-- | src/init.c | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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();
}
|