From 7544aab7fe9957441d70c4eb966730ea7efc0760 Mon Sep 17 00:00:00 2001 From: gussy Date: Wed, 5 May 2010 17:24:39 +0000 Subject: [PATCH] Comment out testing task. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@595 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/OpenPilot/System/openpilot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flight/OpenPilot/System/openpilot.c b/flight/OpenPilot/System/openpilot.c index ac2c4b267..731992d3a 100644 --- a/flight/OpenPilot/System/openpilot.c +++ b/flight/OpenPilot/System/openpilot.c @@ -60,7 +60,7 @@ void OP_ADC_NotifyChange(uint32_t pin, uint32_t pin_value); int main() { /* NOTE: Do NOT modify the following start-up sequence */ - /* Any new initialization functions should be added in OpenPilotInit() */ + /* Any new initialization functions should be added in OpenPilotInit() */ /* Brings up System using CMSIS functions, enables the LEDs. */ PIOS_SYS_Init(); @@ -85,7 +85,7 @@ int main() } /** - * Initialize the hardware, libraries and modules (called by the System thread in systemmod.c) + * Initialize the hardware, libraries and modules (called by the System thread in systemmod.c) */ void OpenPilotInit() { @@ -126,7 +126,7 @@ void OpenPilotInit() /* Create test tasks */ //xTaskCreate(TaskTesting, (signed portCHAR *)"Testing", configMINIMAL_STACK_SIZE , NULL, 4, NULL); - xTaskCreate(TaskHIDTest, (signed portCHAR *)"HIDTest", configMINIMAL_STACK_SIZE , NULL, 3, NULL); + //xTaskCreate(TaskHIDTest, (signed portCHAR *)"HIDTest", configMINIMAL_STACK_SIZE , NULL, 3, NULL); //xTaskCreate(TaskServos, (signed portCHAR *)"Servos", configMINIMAL_STACK_SIZE , NULL, 3, NULL); //xTaskCreate(TaskSDCard, (signed portCHAR *)"SDCard", configMINIMAL_STACK_SIZE, NULL, (tskIDLE_PRIORITY + 2), NULL); } @@ -193,6 +193,7 @@ static void TaskHIDTest(void *pvParameters) byte = PIOS_COM_ReceiveBuffer(COM_USB_HID); if(byte == '\r' || byte == '\n' || byte == 0) { PIOS_COM_SendFormattedString(COM_USB_HID, "RX: %s\r", line_buffer); + PIOS_COM_SendFormattedString(COM_DEBUG_USART, "RX: %s\r", line_buffer); line_ix = 0; } else if(line_ix < (64 - 1)) { line_buffer[line_ix++] = byte; @@ -309,4 +310,3 @@ static void TaskSDCard(void *pvParameters) } } -