diff --git a/sw/airborne/firmwares/fixedwing/ap_downlink.c b/sw/airborne/firmwares/fixedwing/ap_downlink.c new file mode 100644 index 0000000000..2ca6a53dd5 --- /dev/null +++ b/sw/airborne/firmwares/fixedwing/ap_downlink.c @@ -0,0 +1,35 @@ +/* + * Paparazzi $Id$ + * + * Copyright (C) 2011 Gautier Hattenberger + * + * This file is part of paparazzi. + * + * paparazzi is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * paparazzi is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with paparazzi; see the file COPYING. If not, write to + * the Free Software Foundation, 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + */ + +#include "firmwares/fixedwing/ap_downlink.h" +#include "generated/airframe.h" + +#ifdef AP +#ifndef TELEMETRY_MODE_AP +#define TELEMETRY_MODE_AP 0 +#endif +uint8_t telemetry_mode_Ap_DefaultChannel = TELEMETRY_MODE_AP; +#endif /** AP */ + + diff --git a/sw/airborne/firmwares/fixedwing/fbw_downlink.c b/sw/airborne/firmwares/fixedwing/fbw_downlink.c new file mode 100644 index 0000000000..46ba54f928 --- /dev/null +++ b/sw/airborne/firmwares/fixedwing/fbw_downlink.c @@ -0,0 +1,35 @@ +/* + * Paparazzi $Id$ + * + * Copyright (C) 2011 Gautier Hattenberger + * + * This file is part of paparazzi. + * + * paparazzi is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * paparazzi is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with paparazzi; see the file COPYING. If not, write to + * the Free Software Foundation, 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + */ + +#include "firmwares/fixedwing/fbw_downlink.h" +#include "generated/airframe.h" + +#ifdef FBW +#ifndef TELEMETRY_MODE_FBW +#define TELEMETRY_MODE_FBW 0 +#endif +uint8_t telemetry_mode_Fbw_DefaultChannel = TELEMETRY_MODE_FBW; +#endif /** AP */ + +