1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15:54:15 +01:00

Comment out the rest of the startup until we get ChanFat working. These come afterwards anyway, however, its a target, we uncomment them as they get fixed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@97 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
dankers 2009-12-22 05:08:59 +00:00 committed by dankers
parent 4b0821b499
commit 74d4609cc6

View File

@ -41,11 +41,9 @@ static uint32_t IdleTimePercent = 0;
/* Global Functions */ /* Global Functions */
void vApplicationIdleHook(void); void vApplicationIdleHook(void);
/* Function Prototypes */ /* Function Prototypes */
static void HooksTask(void *pvParameters); static void HooksTask(void *pvParameters);
/** /**
* Main function * Main function
*/ */
@ -58,16 +56,16 @@ int main()
/* Call LoadSettings which populates System Vars /* Call LoadSettings which populates System Vars
so the rest of the hardware can be configured. */ so the rest of the hardware can be configured. */
PIOS_Settings_Load(); // PIOS_Settings_Load();
/* Com ports init */ /* Com ports init */
PIOS_COM_Init(); // PIOS_COM_Init();
/* Analog to digi init */ /* Analog to digi init */
PIOS_ADC_Init(); // PIOS_ADC_Init();
/* Initialise OpenPilot application */ /* Initialise OpenPilot application */
OpenPilotInit(); // OpenPilotInit();
/* Start the task which calls the application hooks */ /* Start the task which calls the application hooks */
xTaskCreate(HooksTask, (signed portCHAR *)"Hooks", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_HOOKS, NULL); xTaskCreate(HooksTask, (signed portCHAR *)"Hooks", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_HOOKS, NULL);