mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Some TODOs removed
This commit is contained in:
parent
2798fa7ba9
commit
01fde3db27
3 changed files with 4 additions and 7 deletions
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
#include "eeprominterface.h"
|
#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"
|
#define OPENTX_FIRMWARE_DOWNLOADS "http://downloads-20.open-tx.org/firmware"
|
||||||
|
|
||||||
class RleFile;
|
class RleFile;
|
||||||
|
|
|
@ -64,8 +64,8 @@
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "appdata.h"
|
#include "appdata.h"
|
||||||
#include "radionotfound.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"
|
#define DONATE_STR "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QUZ48K4SEXDP2"
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
@ -632,7 +632,6 @@ void MainWindow::loadProfile() //TODO Load all variables - Also HW!
|
||||||
int profnum=action->data().toInt();
|
int profnum=action->data().toInt();
|
||||||
g.id( profnum );
|
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());
|
current_firmware_variant = GetFirmware(g.profile[g.id()].fwType());
|
||||||
|
|
||||||
foreach (QMdiSubWindow *window, mdiArea->subWindowList()) {
|
foreach (QMdiSubWindow *window, mdiArea->subWindowList()) {
|
||||||
|
|
|
@ -12,15 +12,15 @@
|
||||||
* is using in the C source code, usually in main.c. This file contains:
|
* is using in the C source code, usually in main.c. This file contains:
|
||||||
* - Configuration section that allows to select:
|
* - Configuration section that allows to select:
|
||||||
* - The device used in the target application
|
* - The device used in the target application
|
||||||
* - To use or not the peripheral’s drivers in application code(i.e.
|
* - To use or not the peripheral<EFBFBD>s drivers in application code(i.e.
|
||||||
* code will be based on direct access to peripheral’s registers
|
* code will be based on direct access to peripheral<EFBFBD>s registers
|
||||||
* rather than drivers API), this option is controlled by
|
* rather than drivers API), this option is controlled by
|
||||||
* "#define USE_STDPERIPH_DRIVER"
|
* "#define USE_STDPERIPH_DRIVER"
|
||||||
* - To change few application-specific parameters such as the HSE
|
* - To change few application-specific parameters such as the HSE
|
||||||
* crystal frequency
|
* crystal frequency
|
||||||
* - Data structures and the address mapping for all peripherals
|
* - Data structures and the address mapping for all peripherals
|
||||||
* - Peripheral's registers declarations and bits definition
|
* - Peripheral's registers declarations and bits definition
|
||||||
* - Macros to access peripheral’s registers hardware
|
* - Macros to access peripheral<EFBFBD>s registers hardware
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
|
@ -53,7 +53,6 @@
|
||||||
#ifndef __STM32F2xx_H
|
#ifndef __STM32F2xx_H
|
||||||
#define __STM32F2xx_H
|
#define __STM32F2xx_H
|
||||||
|
|
||||||
// TODO added by BSS
|
|
||||||
#define assert_param(xx)
|
#define assert_param(xx)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue