diff --git a/companion/src/firmwares/opentx/opentxinterface.h b/companion/src/firmwares/opentx/opentxinterface.h index c583449d4..4caf0078a 100644 --- a/companion/src/firmwares/opentx/opentxinterface.h +++ b/companion/src/firmwares/opentx/opentxinterface.h @@ -18,7 +18,6 @@ #include "eeprominterface.h" -#define OPENTX_COMPANION_DOWNLOADS "http://downloads-20.open-tx.org/companion" #define OPENTX_FIRMWARE_DOWNLOADS "http://downloads-20.open-tx.org/firmware" class RleFile; diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 1e66a1c5a..d47f8abdf 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -64,8 +64,8 @@ #include "helpers.h" #include "appdata.h" #include "radionotfound.h" -#include "firmwares/opentx/opentxinterface.h" // TODO get rid of this include +#define OPENTX_COMPANION_DOWNLOADS "http://downloads-20.open-tx.org/companion" #define DONATE_STR "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QUZ48K4SEXDP2" #ifdef __APPLE__ @@ -632,7 +632,6 @@ void MainWindow::loadProfile() //TODO Load all variables - Also HW! int profnum=action->data().toInt(); g.id( profnum ); - // TODO Get rid of this global variable - The profile.firmware is the real source current_firmware_variant = GetFirmware(g.profile[g.id()].fwType()); foreach (QMdiSubWindow *window, mdiArea->subWindowList()) { diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h b/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h index b8c8972f5..de2ac94bd 100644 --- a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h +++ b/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h @@ -12,15 +12,15 @@ * is using in the C source code, usually in main.c. This file contains: * - Configuration section that allows to select: * - The device used in the target application - * - To use or not the peripheral’s drivers in application code(i.e. - * code will be based on direct access to peripheral’s registers + * - To use or not the peripheral�s drivers in application code(i.e. + * code will be based on direct access to peripheral�s registers * rather than drivers API), this option is controlled by * "#define USE_STDPERIPH_DRIVER" * - To change few application-specific parameters such as the HSE * crystal frequency * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral�s registers hardware * ****************************************************************************** * @attention @@ -53,7 +53,6 @@ #ifndef __STM32F2xx_H #define __STM32F2xx_H -// TODO added by BSS #define assert_param(xx) #ifdef __cplusplus