chore: more OTX to ETX housekeeping (#5396)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#include "MultiProtoDefs.h"
|
||||
|
||||
bool setBindProtocolSelection()
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(BOOT)
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#if defined(PXX1)
|
||||
#include "pulses/pxx1.h"
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "hal/watchdog_driver.h"
|
||||
|
||||
#include "definitions.h"
|
||||
#include "opentx_constants.h"
|
||||
#include "edgetx_constants.h"
|
||||
#include "board_common.h"
|
||||
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _HAL_H_
|
||||
#define _HAL_H_
|
||||
#pragma once
|
||||
|
||||
#if defined(STM32F413xx)
|
||||
#define CPU_FREQ 100000000
|
||||
@@ -2774,5 +2773,3 @@
|
||||
#define MIXER_SCHEDULER_TIMER_FREQ (PERI1_FREQUENCY * TIMER_MULT_APB1)
|
||||
#define MIXER_SCHEDULER_TIMER_IRQn TIM8_BRK_TIM12_IRQn
|
||||
#define MIXER_SCHEDULER_TIMER_IRQHandler TIM8_BRK_TIM12_IRQHandler
|
||||
|
||||
#endif // _HAL_H_
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "hal/abnormal_reboot.h"
|
||||
|
||||
#if !defined(BOOT)
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#endif
|
||||
|
||||
#if defined(OLED_SCREEN)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "hal/gpio.h"
|
||||
#include "stm32_gpio.h"
|
||||
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#include "board.h"
|
||||
#include "lcd.h"
|
||||
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _USB_DESCRIPTOR_H_
|
||||
#define _USB_DESCRIPTOR_H_
|
||||
#pragma once
|
||||
|
||||
#if defined(RADIO_TX12) || defined(RADIO_TX12MK2)
|
||||
#define USB_NAME "Radiomaster TX12"
|
||||
@@ -91,5 +90,3 @@
|
||||
#define USB_MANUFACTURER 'F', 'r', 'S', 'k', 'y', ' ', ' ', ' ' /* 8 bytes */
|
||||
#define USB_PRODUCT 'T', 'a', 'r', 'a', 'n', 'i', 's', ' ' /* 8 Bytes */
|
||||
#endif
|
||||
|
||||
#endif // _USB_DESCRIPTOR_H_
|
||||
|
||||
Reference in New Issue
Block a user