LCA 2008 Z-axis accelerometer demo
[fw/openalt] / main.c
diff --git a/main.c b/main.c
index 7a7fe8c538041627469f20b89560033cfa23bf93..92ab8dc1f75333487f99aada962c73fd42954f15 100644 (file)
--- a/main.c
+++ b/main.c
@@ -58,39 +58,29 @@ xTaskHandle taskHandles [TASKHANDLE_LAST];
 int main (void)
 {
   cpuSetupHardware ();
-//#ifndef BDALE
   uartInit (0, BAUD_UART0, 64);
   uartInit (1, BAUD_UART1, 64);
-//#endif
 #ifndef CFG_USB_MSC
   usbserInit ();
 #else
   usbmassInit ();
 #endif
-//#ifndef BDALE
   rtcInit ();
   adcInit ();
   dacInit ();
-//#endif
   i2cInit ();
-//#ifndef BDALE
   eintsInit ();
   fiqInit ();
   iapInit ();
-//#endif
 
   memset (taskHandles, 0, sizeof (taskHandles));
 
-  xTaskCreate (vSensorsTask,  (const signed portCHAR * const) "Sensors",  512,                      NULL, (configMAX_PRIORITIES - 2), &taskHandles [TASKHANDLE_SENSORS]);
-//#ifndef BDALE
+  xTaskCreate (vSensorsTask,  (const signed portCHAR * const) "Sensors",  1024,                      NULL, (configMAX_PRIORITIES - 2), &taskHandles [TASKHANDLE_SENSORS]);
 #ifndef CFG_CONSOLE_UART1
   xTaskCreate (vGPSTask,      (const signed portCHAR * const) "GPS",      768,                      NULL, (tskIDLE_PRIORITY + 1),     &taskHandles [TASKHANDLE_GPS]);
 #endif
-//#endif
   xTaskCreate (vMonitorTask,  (const signed portCHAR * const) "Monitor",  1024,                     NULL, (tskIDLE_PRIORITY + 1),     &taskHandles [TASKHANDLE_MONITOR]);
-//#ifndef BDALE
   xTaskCreate (vLEDFlashTask, (const signed portCHAR * const) "LEDx",     configMINIMAL_STACK_SIZE, NULL, (tskIDLE_PRIORITY + 1),     &taskHandles [TASKHANDLE_LED]);
-//#endif
   vTaskStartScheduler ();
 
   return 0;