chore: more OTX to ETX housekeeping (#5396)

This commit is contained in:
Peter Feerick
2024-08-14 21:02:29 +10:00
committed by GitHub
parent 0768091fe1
commit 839cfbd53c
487 changed files with 537 additions and 1651 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
#include "stm32_gpio.h"
#include "stm32_timer.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "board.h"
#include "globals.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "battery_driver.h"
#include "boards/generic_stm32/rgb_leds.h"
+2 -5
View File
@@ -19,11 +19,10 @@
* GNU General Public License for more details.
*/
#ifndef _BOARD_H_
#define _BOARD_H_
#pragma once
#include "definitions.h"
#include "opentx_constants.h"
#include "edgetx_constants.h"
#include "board_common.h"
#include "hal.h"
@@ -227,5 +226,3 @@ void hapticOn(uint32_t pwmPercent);
bool touchPanelEventOccured();
struct TouchState touchPanelRead();
struct TouchState getInternalTouchState();
#endif // _BOARD_H_
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _HAL_H_
#define _HAL_H_
#pragma once
#define CPU_FREQ 168000000
@@ -653,5 +652,3 @@
#define LCD_DEPTH 16
#define LCD_CONTRAST_DEFAULT 20
#endif // _HAL_H_
+1 -1
View File
@@ -21,7 +21,7 @@
#include "stm32_hal_ll.h"
#include "stm32_hal.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "dma2d.h"
#include "hal.h"
#include "hal/gpio.h"
+1 -10
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef __LCD_DRIVER_H__
#define __LCD_DRIVER_H__
#pragma once
#define HBP ( 24 ) // TODO use names from FlySky
#define VBP ( 10 )
@@ -75,11 +74,3 @@ extern lcdSpiInitFucPtr lcdOnFunction;
#define VERTICAL_BACK_PORCH ( 6 )
#define VERTICAL_FRONT_PORCH ( 14 - VERTICAL_BACK_PORCH )
#endif
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _USB_DESCRIPTOR_H_
#define _USB_DESCRIPTOR_H_
#pragma once
#if defined(RADIO_PL18EV)
#define USB_NAME "FlySky PL18EV"
@@ -31,5 +30,3 @@
#define USB_MANUFACTURER 'F', 'l', 'y', 'S', 'k', 'y', ' ', ' ' /* 8 bytes */
#define USB_PRODUCT 'P', 'L', '1', '8', ' ', ' ', ' ', ' ' /* 8 Bytes */
#endif
#endif // _USB_DESCRIPTOR_H_