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
@@ -397,7 +397,7 @@ endif()
set(SRC
${SRC}
opentx.cpp
edgetx.cpp
functions.cpp
strhelpers.cpp
switches.cpp
+1 -1
View File
@@ -21,7 +21,7 @@
#include "analogs.h"
#include "dataconstants.h"
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
#include "hal/adc_driver.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#include <math.h>
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "switches.h"
+2 -5
View File
@@ -19,13 +19,12 @@
* GNU General Public License for more details.
*/
#ifndef _AUDIO_H_
#define _AUDIO_H_
#pragma once
#include <stddef.h>
#include <string.h>
#include "ff.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "dataconstants.h"
/*
@@ -697,5 +696,3 @@ void referenceSystemAudioFiles();
void referenceModelAudioFiles();
bool isAudioFileReferenced(uint32_t i, char * filename/*at least AUDIO_FILENAME_MAXLEN+1 long*/);
#endif // _AUDIO_H_
+1 -1
View File
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "opentx.h"
#include "edgetx.h"
#include "bin_allocator.h"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _BIN_ALLOCATOR_H_
#define _BIN_ALLOCATOR_H_
#pragma once
#include "debug.h"
@@ -95,5 +94,3 @@ extern BinAllocator_slots2 slots2;
// wrapper for our BinAllocator for Lua
void *bin_l_alloc (void *ud, void *ptr, size_t osize, size_t nsize);
#endif //#if defined(USE_BIN_ALLOCATOR)
#endif // _BIN_ALLOCATOR_H_
+1 -1
View File
@@ -20,7 +20,7 @@
*/
#include <stdio.h>
#include "opentx.h"
#include "edgetx.h"
#include "io/frsky_firmware_update.h"
#include "bluetooth_driver.h"
#include "trainer.h"
@@ -28,7 +28,7 @@
#include "pulses/pxx.h"
#include "trainer.h"
#include "opentx.h"
#include "edgetx.h"
#include "pulses/pulses.h"
#if defined(PXX1)
+1 -1
View File
@@ -22,7 +22,7 @@
#include "stm32_pulse_driver.h"
#include "rgb_leds.h"
#include "hal.h"
#include "opentx.h"
#include "edgetx.h"
#if defined(LED_STRIP_GPIO)
@@ -27,7 +27,7 @@
#include "hal.h"
#include "opentx.h" // g_eeGeneral
#include "edgetx.h" // g_eeGeneral
void sportUpdateInit()
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
uint8_t g_beepCnt;
uint8_t beepAgain = 0;
+1 -5
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _BUZZER_H_
#define _BUZZER_H_
#pragma once
#if defined(BUZZER)
extern uint8_t beepAgainOrig;
@@ -118,6 +117,3 @@ inline void beep(uint8_t) { }
#define PLAY_MODEL_NAME()
#define START_SILENCE_PERIOD()
#endif /* !AUDIO */
#endif // _BUZZER_H_
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef CHKSIZE_H
#define CHKSIZE_H
#pragma once
#include <inttypes.h>
@@ -28,5 +27,3 @@ template <typename ToCheck, size_t expectedSize, size_t realSize = sizeof(ToChec
void check_size() {
static_assert(expectedSize == realSize, "struct size changed");
}
#endif
+1 -1
View File
@@ -22,7 +22,7 @@
#include <FreeRTOS/include/FreeRTOS.h>
#include <FreeRTOS/include/stream_buffer.h>
#include "opentx.h"
#include "edgetx.h"
#include "timers_driver.h"
#include "hal/watchdog_driver.h"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _CLI_H_
#define _CLI_H_
#pragma once
#include "hal/serial_driver.h"
@@ -29,5 +28,3 @@ void cliStart();
// Connect serial driver to CLI
void cliSetSerialDriver(void* ctx, const etx_serial_driver_t* drv);
#endif // _CLI_H_
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef __CRC_H__
#define __CRC_H__
#pragma once
#include <inttypes.h>
@@ -34,5 +33,3 @@ extern const unsigned short * const crc16tab[2];
uint8_t crc8(const uint8_t * ptr, uint32_t len);
uint8_t crc8_BA(const uint8_t * ptr, uint32_t len);
uint16_t crc16(uint8_t index, const uint8_t * buf, uint32_t len, uint16_t start = 0);
#endif
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#if defined(LIBOPENUI)
#include "libopenui.h"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _CURVES_H_
#define _CURVES_H_
#pragma once
enum BaseCurves {
CURVE_NONE,
@@ -48,5 +47,3 @@ int applyCurve(int x, CurveRef & curve);
int applyCurrentCurve(int x);
char *getCurveRefString(char *dest, size_t len, const CurveRef& curve);
#endif
+1 -1
View File
@@ -26,7 +26,7 @@
#include "board.h"
#include "dataconstants.h"
#include "definitions.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "globals.h"
#include "serial.h"
#include "usb_joystick.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "stamp.h"
#include <stdarg.h>
+1 -5
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _DEBUG_H_
#define _DEBUG_H_
#pragma once
#include <float.h>
#include "definitions.h"
@@ -415,6 +414,3 @@ extern const char * const debugTimerNames[DEBUG_TIMERS_COUNT];
#define DEBUG_TIMER_SAMPLE(timer)
#endif //#if defined(DEBUG_TIMERS)
#endif // _DEBUG_H_
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _DEFINITIONS_H_
#define _DEFINITIONS_H_
#pragma once
#include <inttypes.h>
#include <stdbool.h>
@@ -115,5 +114,3 @@
#define EXTERN_C_START
#define EXTERN_C_END
#endif
#endif // _DEFINITIONS_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#if defined(SIMU)
#define dumpPrintf(...) debugPrintf(__VA_ARGS__)
+1 -4
View File
@@ -19,13 +19,10 @@
* GNU General Public License for more details.
*/
#ifndef _DUMP_H_
#define _DUMP_H_
#pragma once
#if defined(DEBUG) || defined(CLI)
void dump(const void * data, unsigned int size);
#else
#define dump(data, size)
#endif
#endif // _DUMP_H_
@@ -26,7 +26,7 @@
#include "stm32_hal_ll.h"
#endif
#include "opentx.h"
#include "edgetx.h"
#include "io/frsky_firmware_update.h"
#include "hal/adc_driver.h"
#include "hal/switch_driver.h"
+2 -2
View File
@@ -23,8 +23,8 @@
#include <stdlib.h>
#include "definitions.h"
#include "opentx_types.h"
#include "opentx_helpers.h"
#include "edgetx_types.h"
#include "edgetx_helpers.h"
#include "touch.h"
#include "switches.h"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _FIFO_H_
#define _FIFO_H_
#pragma once
#include <inttypes.h>
@@ -114,5 +113,3 @@ class Fifo
return (idx + 1) & (N - 1);
}
};
#endif // _FIFO_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
#include "boards/generic_stm32/rgb_leds.h"
+2 -5
View File
@@ -19,12 +19,11 @@
* GNU General Public License for more details.
*/
#ifndef _GLOBALS_H_
#define _GLOBALS_H_
#pragma once
#include "definitions.h"
#include "dataconstants.h"
#include "opentx_types.h"
#include "edgetx_types.h"
PACK(struct GlobalData {
uint8_t externalAntennaEnabled:1;
@@ -97,5 +96,3 @@ extern uint8_t beepAgain;
extern uint16_t lightOffCounter;
extern uint8_t flashCounter;
extern uint8_t mixWarning;
#endif
+1 -1
View File
@@ -37,7 +37,7 @@
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
*/
#include "opentx.h"
#include "edgetx.h"
#include "gps.h"
#include "gps_nmea.h"
#include "gps_ubx.h"
+6 -8
View File
@@ -19,10 +19,9 @@
* GNU General Public License for more details.
*/
#ifndef _GPS_H_
#define _GPS_H_
#pragma once
#include "opentx.h"
#include "edgetx.h"
#include <inttypes.h>
struct gpsdata_t
@@ -50,14 +49,13 @@ extern uint8_t gpsTraceEnabled;
#define GPS_PROTOCOL_UBX 2
// Setup GPS serial port
void gpsSetSerialDriver(void* ctx, const etx_serial_driver_t* drv, int protocol);
void gpsSetSerialDriver(void* ctx, const etx_serial_driver_t* drv,
int protocol);
// Periodic processing
void gpsWakeup();
// Send a 0-terminated frame
void gpsSendFrame(const char * frame);
void gpsSendFrame(const char* frame);
uint32_t GPS_coord_to_degrees(const char * coordinateString);
#endif // _GPS_H_
uint32_t GPS_coord_to_degrees(const char* coordinateString);
+1 -1
View File
@@ -37,7 +37,7 @@
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
*/
#include "opentx.h"
#include "edgetx.h"
#include "gps.h"
#include <ctype.h>
+2 -5
View File
@@ -19,13 +19,10 @@
* GNU General Public License for more details.
*/
#ifndef _GPS_NMEA_H_
#define _GPS_NMEA_H_
#pragma once
#include <inttypes.h>
bool gpsNewFrameNMEA(char c);
void gpsSendFrameNMEA(const char * frame);
#endif // _GPS_NMEA_H_
void gpsSendFrameNMEA(const char* frame);
+1 -1
View File
@@ -35,7 +35,7 @@
#include <ctype.h>
#include "gps.h"
#include "opentx.h"
#include "edgetx.h"
extern const etx_serial_driver_t* gpsSerialDrv;
extern void* gpsSerialCtx;
+1 -4
View File
@@ -13,11 +13,8 @@
* GNU General Public License for more details.
*/
#ifndef _GPS_UBX_H_
#define _GPS_UBX_H_
#pragma once
#include <inttypes.h>
bool gpsNewFrameUBX(uint8_t c, bool detect);
#endif // _GPS_UBX_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
uint8_t * lcdLoadBitmap(uint8_t * bmp, const char * filename, uint8_t width, uint8_t height)
{
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _GUI_H_
#define _GUI_H_
#pragma once
#include "gui_common.h"
#include "menus.h"
@@ -209,5 +208,3 @@ FlightModesType editFlightModes(coord_t x, coord_t y, event_t event, FlightModes
#else
#define displayFlightModes(...)
#endif
#endif // _GUI_H_
+1 -1
View File
@@ -34,7 +34,7 @@
#endif
#if !defined(BOOT)
#include "opentx.h"
#include "edgetx.h"
#include "hal/switch_driver.h"
#include "hal/adc_driver.h"
#include "switches.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#include <inttypes.h>
#include "opentx_types.h"
#include "edgetx_types.h"
#include "board.h"
#define BOX_WIDTH 23
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const MenuHandler menuTabModel[MENU_MODEL_PAGES_COUNT] = {
{ menuModelSelect, nullptr },
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const MenuHandler menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
#if defined(RADIO_TOOLS)
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/rotary_encoder.h"
void runPopupCurvePreset(event_t event)
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void copySelection(char * dst, const char * src, uint8_t size)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum MenuModelDisplayItems {
ITEM_DISPLAY_SCREEN_LABEL1,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
extern uint8_t g_moduleIdx;
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void displayFlightModes(coord_t x, coord_t y, FlightModesType value)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void editGVarValue(coord_t x, coord_t y, event_t event, uint8_t gvar, uint8_t flightMode, LcdFlags flags)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define EXPO_ONE_2ND_COLUMN (6*FW+1)
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
enum LogicalSwitchFields {
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "mixes.h"
enum MixFields {
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum MenuModelOutputsItems {
ITEM_OUTPUTS_OFFSET,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define MODELSEL_W LCD_W
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "mixer_scheduler.h"
#include "hal/adc_driver.h"
#include "hal/switch_driver.h"
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define MODEL_SPECIAL_FUNC_1ST_COLUMN (0)
#define MODEL_SPECIAL_FUNC_2ND_COLUMN (4*FW-1)
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum MenuModelTelemetryFrskyItems {
ITEM_TELEMETRY_SENSORS_LABEL,
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum SensorFields {
SENSOR_FIELD_NAME,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void menuModelTemplates(event_t event)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const unsigned char ASTERISK_BITMAP[] = {
#include "asterisk.lbm"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _POPUPS_H_
#define _POPUPS_H_
#pragma once
#include <keys.h>
@@ -46,5 +45,3 @@ enum {
};
#include "../common/stdlcd/popups.h"
#endif // _POPUPS_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/adc_driver.h"
#include "gui/common/stdlcd/calibration.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/adc_driver.h"
#define HOLDANAVALUEFRAMES 4 /* 4* 50ms = 200 ms update rate */
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/rotary_encoder.h"
#include "hal/switch_driver.h"
#include "hal/key_driver.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#define LANGUAGE_PACKS_DEFINITION
#include "opentx.h"
#include "edgetx.h"
#include "tasks/mixer_task.h"
#include "hal/adc_driver.h"
#include "hal/usb_driver.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const unsigned char splashdata[] = {
'S','P','S',0,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define SLEEP_BITMAP_WIDTH 42
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "stamp.h"
#define ABOUT_INDENT 4
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
constexpr coord_t CHANNEL_NAME_OFFSET = 1;
constexpr coord_t CHANNEL_VALUE_OFFSET = CHANNEL_NAME_OFFSET + 42;
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/adc_driver.h"
#include "hal/switch_driver.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "tasks.h"
#include "mixer_scheduler.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define STATUS_BAR_Y (7*FH+1)
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
// For surface radio
void drawWheel(coord_t centrex, int16_t tval)
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
uint8_t * lcdLoadBitmap(uint8_t * bmp, const char * filename, uint16_t width, uint16_t height)
{
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _GUI_H_
#define _GUI_H_
#pragma once
#include "gui_common.h"
#include "lcd.h"
@@ -193,5 +192,3 @@ FlightModesType editFlightModes(coord_t x, coord_t y, event_t event, FlightModes
#define IS_MAIN_VIEW_DISPLAYED() menuHandlers[0] == menuMainView
#define IS_TELEMETRY_VIEW_DISPLAYED() menuHandlers[0] == menuViewTelemetry
#define IS_OTHER_VIEW_DISPLAYED() (menuHandlers[0] == menuMainViewChannelsMonitor || menuHandlers[0] == menuChannelsView)
#endif // _GUI_H_
+1 -1
View File
@@ -33,7 +33,7 @@
#endif
#if !defined(BOOT)
#include "opentx.h"
#include "edgetx.h"
#include "hal/switch_driver.h"
#include "hal/adc_driver.h"
#include "switches.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#include <inttypes.h>
#include "opentx_types.h"
#include "edgetx_types.h"
#include "board.h"
#define BOX_WIDTH 31
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const MenuHandler menuTabModel[] = {
{ menuModelSelect, nullptr },
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const MenuHandler menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
#if defined(RADIO_TOOLS)
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _MENUS_H_
#define _MENUS_H_
#pragma once
#include "keys.h"
#include "common/stdlcd/menus.h"
@@ -128,5 +127,3 @@ void menuModelUSBJoystick(event_t event);
#endif
extern const MenuHandler menuTabModel[MENU_MODEL_PAGES_COUNT];
#endif // _MENUS_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/rotary_encoder.h"
void runPopupCurvePreset(event_t event)
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void onModelCustomScriptMenu(const char *result)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum MenuModelDisplayItems {
ITEM_DISPLAY_TOP_BAR_LABEL,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
extern uint8_t g_moduleIdx;
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
void displayFlightModes(coord_t x, coord_t y, FlightModesType value)
{
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
static int numFlightModes() { return modelFMEnabled() ? MAX_FLIGHT_MODES : 1; }
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define EXPO_ONE_2ND_COLUMN (LCD_W-8*FW-90)
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
enum LogicalSwitchFields {
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "mixes.h"
enum MixFields {
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum LimitsItems {
ITEM_LIMITS_CH_NAME,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define MODELSEL_W 133
+1 -1
View File
@@ -24,7 +24,7 @@
#include "hal/switch_driver.h"
#include "hal/module_port.h"
#include "opentx.h"
#include "edgetx.h"
#include "mixer_scheduler.h"
#include "switches.h"
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#define MODEL_SPECIAL_FUNC_1ST_COLUMN (4*FW+2)
#define MODEL_SPECIAL_FUNC_2ND_COLUMN (8*FW+2)
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum MenuModelTelemetryFrskyItems {
ITEM_TELEMETRY_SENSORS_LABEL,
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
enum SensorFields {
SENSOR_FIELD_NAME,
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
const unsigned char ASTERISK_BITMAP[] = {
#include "asterisk.lbm"
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _POPUPS_H_
#define _POPUPS_H_
#pragma once
#define MESSAGEBOX_X 10
#define MESSAGEBOX_Y 8
@@ -44,5 +43,3 @@ enum {
};
#include "../common/stdlcd/popups.h"
#endif // _POPUPS_H_
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/adc_driver.h"
#include "gui/common/stdlcd/calibration.h"
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "../../hal/adc_driver.h"
#define HOLDANAVALUEFRAMES 4 /* 4* 50ms = 200 ms update rate */

Some files were not shown because too many files have changed in this diff Show More