From 10351e61d40dd09526fa7fcaa2031578e0277387 Mon Sep 17 00:00:00 2001 From: Werner Backes Date: Tue, 10 Jul 2012 12:10:17 +0200 Subject: [PATCH] Revert "Changed GPS port to be rx/tx instead of rx only" This reverts commit e2a35d1f4c0971c672f60c91bf6d7a4f44e84fa1. --- flight/Revolution/System/pios_board.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flight/Revolution/System/pios_board.c b/flight/Revolution/System/pios_board.c index f90327f36..705463186 100644 --- a/flight/Revolution/System/pios_board.c +++ b/flight/Revolution/System/pios_board.c @@ -252,7 +252,6 @@ uint32_t pios_rcvr_group_map[MANUALCONTROLSETTINGS_CHANNELGROUPS_NONE]; #define PIOS_COM_TELEM_RF_TX_BUF_LEN 512 #define PIOS_COM_GPS_RX_BUF_LEN 32 -#define PIOS_COM_GPS_TX_BUF_LEN 32 #define PIOS_COM_TELEM_USB_RX_BUF_LEN 65 #define PIOS_COM_TELEM_USB_TX_BUF_LEN 65 @@ -544,7 +543,7 @@ void PIOS_Board_Init(void) { break; case HWSETTINGS_RV_GPSPORT_GPS: - PIOS_Board_configure_com(&pios_usart_gps_cfg, PIOS_COM_GPS_RX_BUF_LEN, PIOS_COM_GPS_TX_BUF_LEN, &pios_usart_com_driver, &pios_com_gps_id); + PIOS_Board_configure_com(&pios_usart_gps_cfg, PIOS_COM_GPS_RX_BUF_LEN, -1, &pios_usart_com_driver, &pios_com_gps_id); break; case HWSETTINGS_RV_GPSPORT_COMAUX: