From 4e15413fc9721526c194b0ce8f57c40f3adf95db Mon Sep 17 00:00:00 2001 From: fredericg Date: Sun, 13 Jun 2010 11:18:42 +0000 Subject: [PATCH] MkSerial, adapt to COM_USARTX => PIOS_COM_X git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@761 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/OpenPilot/Modules/MK/MKSerial/MKSerial.c | 4 ++-- flight/OpenPilot/System/inc/pios_board.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/OpenPilot/Modules/MK/MKSerial/MKSerial.c b/flight/OpenPilot/Modules/MK/MKSerial/MKSerial.c index 632db4f57..48159a7eb 100644 --- a/flight/OpenPilot/Modules/MK/MKSerial/MKSerial.c +++ b/flight/OpenPilot/Modules/MK/MKSerial/MKSerial.c @@ -33,8 +33,8 @@ // // Configuration // -#define PORT COM_USART2 -#define DEBUG_PORT COM_USART1 +#define PORT PIOS_COM_GPS +#define DEBUG_PORT PIOS_COM_AUX #define STACK_SIZE 1024 #define TASK_PRIORITY (tskIDLE_PRIORITY + 3) #define MAX_NB_PARS 100 diff --git a/flight/OpenPilot/System/inc/pios_board.h b/flight/OpenPilot/System/inc/pios_board.h index e771c3f17..51358064d 100644 --- a/flight/OpenPilot/System/inc/pios_board.h +++ b/flight/OpenPilot/System/inc/pios_board.h @@ -119,7 +119,7 @@ TIM8 | Servo 5 | Servo 6 | Servo 7 | Servo 8 #define PIOS_COM_GPS 1 #define PIOS_COM_TELEM_USB 2 -#if 0 +#if 1 #define PIOS_COM_AUX 3 #define PIOS_COM_DEBUG PIOS_COM_AUX #endif