chore: more OTX to ETX housekeeping (#5396)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "stm32_gpio.h"
|
||||
#include "stm32_timer.h"
|
||||
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
#include "board.h"
|
||||
|
||||
#if !defined(BOOT)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "timers_driver.h"
|
||||
#include "dataconstants.h"
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
#include "globals.h"
|
||||
#include "sdcard.h"
|
||||
#include "debug.h"
|
||||
@@ -61,7 +61,7 @@ void boardBLInit()
|
||||
#endif
|
||||
|
||||
#if !defined(BOOT)
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
|
||||
void boardInit()
|
||||
{
|
||||
|
||||
@@ -19,13 +19,10 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _BOARD_H_
|
||||
#define _BOARD_H_
|
||||
#pragma once
|
||||
|
||||
//#include "stm32_hal.h"
|
||||
//#include "stm32_hal_ll.h"
|
||||
#include "definitions.h"
|
||||
#include "opentx_constants.h"
|
||||
#include "edgetx_constants.h"
|
||||
|
||||
// Defines used in board_common.h
|
||||
#define ROTARY_ENCODER_NAVIGATION
|
||||
@@ -344,5 +341,3 @@ void bluetoothDisable();
|
||||
#else
|
||||
#define NUM_FUNCTIONS_SWITCHES 0
|
||||
#endif
|
||||
|
||||
#endif // _BOARD_H_
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _HAL_H_
|
||||
#define _HAL_H_
|
||||
#pragma once
|
||||
|
||||
#define CPU_FREQ 168000000
|
||||
#define PERI1_FREQUENCY 42000000
|
||||
@@ -1099,5 +1098,3 @@
|
||||
#define LCD_PHYS_W LCD_W
|
||||
#define LCD_DEPTH 16
|
||||
#endif
|
||||
|
||||
#endif // _HAL_H_
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#include "i2c_driver.h"
|
||||
#include "imu_lsm6ds33.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "stm32_hal_ll.h"
|
||||
#include "stm32_hal.h"
|
||||
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
#include "dma2d.h"
|
||||
#include "board.h"
|
||||
#include "hal.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "dma2d.h"
|
||||
#include "hal.h"
|
||||
#include "lcd.h"
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
|
||||
static LTDC_HandleTypeDef hltdc;
|
||||
static void* initialFrameBuffer = nullptr;
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "delays_driver.h"
|
||||
|
||||
#include "rtos.h"
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _USB_DESCRIPTOR_H_
|
||||
#define _USB_DESCRIPTOR_H_
|
||||
#pragma once
|
||||
|
||||
#if defined(PCBX12S)
|
||||
#define USB_NAME "FrSky Horus"
|
||||
@@ -51,5 +50,3 @@
|
||||
#define USB_MANUFACTURER 'F', 'r', 'S', 'k', 'y', ' ', ' ', ' ' /* 8 bytes */
|
||||
#define USB_PRODUCT 'X', '1', '0', ' ', ' ', ' ', ' ', ' ' /* 8 Bytes */
|
||||
#endif
|
||||
|
||||
#endif // _USB_DESCRIPTOR_H_
|
||||
|
||||
Reference in New Issue
Block a user