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
@@ -24,7 +24,7 @@
#include "stm32_timer.h"
#include "stm32_dma.h"
#include "opentx.h"
#include "edgetx.h"
#if !defined(SIMU)
const AudioBuffer * nextBuffer = nullptr;
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _BOARD_COMMON_H_
#define _BOARD_COMMON_H_
#pragma once
#include <inttypes.h>
#include "cpu_id.h"
@@ -43,5 +42,3 @@
#endif
#include "delays_driver.h"
#endif
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _bin_files_h_
#define _bin_files_h_
#pragma once
#include <FatFs/ff.h>
#include "sdcard.h"
@@ -98,5 +97,3 @@ FRESULT readBinFile();
// Close the previously opened file
FRESULT closeBinFile();
#endif
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _boot_h_
#define _boot_h_
#pragma once
#include <stdint.h>
#include "stamp.h"
@@ -89,5 +88,3 @@ uint32_t bootloaderGetMenuItemCount(int baseCount);
bool bootloaderRadioMenu(uint32_t menuItem, event_t event);
void blExit();
#endif
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#if defined(SIMU)
const uint32_t cpu_uid[3] = { 0x12345678, 0x55AA55AA, 0x87654321};
+1 -1
View File
@@ -21,7 +21,7 @@
#pragma once
#include "opentx_types.h"
#include "edgetx_types.h"
#if !defined(SIMU)
static inline void DMAWait()
@@ -32,7 +32,7 @@
#include "stm32_timer.h"
#if !defined(BOOT)
#include "opentx.h"
#include "edgetx.h"
#endif
#if ROTARY_ENCODER_GRANULARITY == 2
@@ -21,7 +21,7 @@
#pragma once
#include "opentx_types.h"
#include "edgetx_types.h"
extern "C" volatile tmr10ms_t g_tmr10ms;
static inline tmr10ms_t get_tmr10ms() { return g_tmr10ms; }
@@ -27,7 +27,7 @@
#include "hal.h"
#include "opentx.h"
#include "edgetx.h"
#include "trainer.h"
static void (*_trainer_timer_isr)();
@@ -22,7 +22,7 @@
#if defined(USBJ_EX)
#include "usb_joystick.h"
#else
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
#endif
extern "C" {
@@ -26,7 +26,7 @@
#include "hal/gpio.h"
#include "opentx.h"
#include "edgetx.h"
#if !defined(SIMU)