Skip to content
Snippets Groups Projects
Commit a3b19bce authored by Oliver Ljungberg's avatar Oliver Ljungberg
Browse files

Update main.c

parent 33d6165c
No related branches found
No related tags found
1 merge request!3Update main.c
...@@ -43,9 +43,6 @@ int main(void) ...@@ -43,9 +43,6 @@ int main(void)
/** Inits the Inter Process Communication bus. */ /** Inits the Inter Process Communication bus. */
messagebus_init(&bus, &bus_lock, &bus_condvar); messagebus_init(&bus, &bus_lock, &bus_condvar);
// Start the imu // Start the imu
imu_start(); imu_start();
//inits the motors //inits the motors
...@@ -55,12 +52,6 @@ int main(void) ...@@ -55,12 +52,6 @@ int main(void)
//starts the USB communication //starts the USB communication
//usb_start(); //usb_start();
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
messagebus_find_topic_blocking(&bus, "/imu"); messagebus_find_topic_blocking(&bus, "/imu");
// Wait callibration // Wait callibration
...@@ -72,14 +63,7 @@ int main(void) ...@@ -72,14 +63,7 @@ int main(void)
/* Infinite loop. */ /* Infinite loop. */
while (1) { while (1) {
<<<<<<< Updated upstream
palTogglePad(GPIOD, GPIOD_LED_FRONT);
chprintf((BaseSequentialStream *)&SD3, "Error = %f \n",get_acc_x());
chprintf((BaseSequentialStream *)&SD3, "Case = %d \n",get_acc_case());
=======
//test //test
>>>>>>> Stashed changes
chThdSleepMilliseconds(1000); chThdSleepMilliseconds(1000);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment