From 2a4bc2cf6a2b5f4bc824c345176a1322d27b6f46 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 30 Jan 2016 11:23:34 +0100 Subject: [PATCH] Fixes #2022 --- radio/src/logs.cpp | 63 ++++++++++++++++++++++++++------------------- radio/src/mixer.cpp | 1 - 2 files changed, 37 insertions(+), 27 deletions(-) diff --git a/radio/src/logs.cpp b/radio/src/logs.cpp index 23bf32d12..e06a13a6a 100644 --- a/radio/src/logs.cpp +++ b/radio/src/logs.cpp @@ -1,23 +1,23 @@ -/* - * Copyright (C) OpenTX - * - * Based on code named - * th9x - http://code.google.com/p/th9x - * er9x - http://code.google.com/p/er9x - * gruvin9x - http://code.google.com/p/gruvin9x - * - * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - */ - +/* + * Copyright (C) OpenTX + * + * Based on code named + * th9x - http://code.google.com/p/th9x + * er9x - http://code.google.com/p/er9x + * gruvin9x - http://code.google.com/p/gruvin9x + * + * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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. + */ + #include "opentx.h" #include "ff.h" @@ -167,7 +167,7 @@ void writeHeader() #endif #endif -#if defined(PCBTARANIS) +#if defined(PCBTARANIS) || defined(PCBHORUS) for (uint8_t i=1; i=MIXSRC_FIRST_STICK && i<=MIXSRC_LAST_POT) { return calibratedStick[i-MIXSRC_Rud]; } -} #endif #if defined(PCBGRUVIN9X) || defined(PCBMEGA2560) || defined(ROTARY_ENCODERS)