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
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "hal/rotary_encoder.h"
#include "LvglWrapper.h"
+1 -1
View File
@@ -22,7 +22,7 @@
#pragma once
#include <lvgl/lvgl.h>
#include "opentx_types.h"
#include "edgetx_types.h"
void initLvglTheme();
+1 -1
View File
@@ -23,7 +23,7 @@
#include "libopenui.h"
#include "lz4/lz4.h"
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
LZ4BitmapBuffer::LZ4BitmapBuffer(uint8_t format, const LZ4Bitmap* lz4Data) :
BitmapBuffer(format, 0, 0, nullptr)
@@ -21,7 +21,7 @@
#pragma once
#include "opentx.h"
#include "edgetx.h"
class ChannelBar : public Window
{
@@ -21,7 +21,7 @@
#include "channel_range.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
+1 -1
View File
@@ -22,7 +22,7 @@
#include "curve.h"
#include "bitmaps.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
//-----------------------------------------------------------------------------
@@ -24,7 +24,7 @@
#include "gvar_numberedit.h"
#include "source_numberedit.h"
#include "model_curves.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -21,7 +21,7 @@
#include "fm_matrix.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
template <class T>
@@ -20,7 +20,7 @@
*/
#include "gvar_numberedit.h"
#include "opentx.h"
#include "edgetx.h"
void GVarNumberEdit::value_changed(lv_event_t* e)
{
@@ -21,7 +21,7 @@
#include "input_source.h"
#include "opentx.h"
#include "edgetx.h"
#include "sourcechoice.h"
#include "switchchoice.h"
@@ -21,7 +21,7 @@
#include "source_numberedit.h"
#include "opentx.h"
#include "edgetx.h"
#include "sourcechoice.h"
void SourceNumberEdit::value_changed(lv_event_t* e)
@@ -25,7 +25,7 @@
#include "lcd.h"
#include "menu.h"
#include "menutoolbar.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "switches.h"
@@ -23,7 +23,7 @@
#include "fullscreen_dialog.h"
#include "mainwindow.h"
#include "opentx.h"
#include "edgetx.h"
class SwitchWarnDialog : public FullScreenDialog
{
@@ -23,7 +23,7 @@
#include "dataconstants.h"
#include "menu.h"
#include "menutoolbar.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "switches.h"
+1 -1
View File
@@ -20,7 +20,7 @@
#include <lvgl/lvgl.h>
#include "opentx_types.h"
#include "edgetx_types.h"
enum FontIndex {
FONT_STD_INDEX,
+1 -1
View File
@@ -21,7 +21,7 @@
#pragma once
#include "opentx_types.h"
#include "edgetx_types.h"
#include "colors.h"
@@ -27,7 +27,7 @@
#include "dma2d.h"
#include "fonts.h"
#include "lvgl/src/draw/sw/lv_draw_sw.h"
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
#include "strhelpers.h"
BitmapBuffer::BitmapBuffer(uint8_t format, uint16_t width, uint16_t height) :
@@ -22,7 +22,7 @@
#include "bitmaps.h"
#include "board.h"
#include "dma2d.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "telemetry/telemetry_sensors.h"
#include "translations.h"
@@ -20,7 +20,7 @@
#include "bitmapbuffer.h"
#include "lib_file.h"
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
FIL imgFile __DMA;
+1 -1
View File
@@ -18,7 +18,7 @@
#include "dialog.h"
#include "opentx.h"
#include "edgetx.h"
#include "mainwindow.h"
#include "progress.h"
#include "etx_lv_theme.h"
+1 -1
View File
@@ -20,7 +20,7 @@
#include <algorithm>
#include "opentx.h"
#include "edgetx.h"
#include "lib_file.h"
#include "menu.h"
#include "menutoolbar.h"
@@ -24,7 +24,7 @@
#include "LvglWrapper.h"
#include "libopenui.h"
#include "mainwindow.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#include "view_main.h"
#include "hal/watchdog_driver.h"
@@ -20,7 +20,7 @@
#include "debug.h"
#include "hal.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "colors.h"
#include "keys.h"
@@ -23,7 +23,7 @@
#include <algorithm>
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
static void input_mix_line_constructor(const lv_obj_class_t* class_p,
@@ -22,7 +22,7 @@
#pragma once
#include "button.h"
#include "opentx_types.h"
#include "edgetx_types.h"
#include "tabsgroup.h"
class ListLineButton : public ButtonBase
+1 -1
View File
@@ -21,7 +21,7 @@
#include <lvgl/lvgl.h>
#include "menutoolbar.h"
#include "opentx.h"
#include "edgetx.h"
#include "table.h"
#include "etx_lv_theme.h"
+1 -1
View File
@@ -22,7 +22,7 @@
#include "popups.h"
#include "libopenui.h"
#include "opentx.h"
#include "edgetx.h"
#include "pwr.h"
#include "hal/watchdog_driver.h"
#include "etx_lv_theme.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#include "view_text.h"
#include "menu.h"
#include "opentx.h"
#include "edgetx.h"
#include "sdcard.h"
#include "etx_lv_theme.h"
#include "fullscreen_dialog.h"
+1 -1
View File
@@ -25,7 +25,7 @@
#include "LvglWrapper.h"
#include "bitmapbuffer.h"
#include "libopenui_defines.h"
#include "opentx_helpers.h"
#include "edgetx_helpers.h"
#include "etx_lv_theme.h"
typedef uint32_t WindowFlags;
+20 -20
View File
@@ -1,21 +1,27 @@
/**
* @file lv_conf.h
* Configuration file for v8.2.0
/*
* Copyright (C) EdgeTX
*
* Based on code named
* opentx - https://github.com/opentx/opentx
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/*
* Copy this file as `lv_conf.h`
* 1. simply next to the `lvgl` folder
* 2. or any other places and
* - define `LV_CONF_INCLUDE_SIMPLE`
* - add the path as include path
*/
#pragma once
/* clang-format off */
#if 1 /*Set it to "1" to enable content*/
#ifndef LV_CONF_H
#define LV_CONF_H
#include <stdint.h>
@@ -841,9 +847,3 @@
# define LV_DEMO_MUSIC_LARGE 0
# define LV_DEMO_MUSIC_AUTO_PLAY 0
#endif
/*--END OF LV_CONF_H--*/
#endif /*LV_CONF_H*/
#endif /*End of "Content enable"*/
+1 -1
View File
@@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/
#include "opentx.h"
#include "edgetx.h"
#include "topbar_impl.h"
#include "view_main.h"
@@ -24,7 +24,7 @@
#include "menu_model.h"
#include "menu_radio.h"
#include "model_select.h"
#include "opentx.h"
#include "edgetx.h"
#include "screen_setup.h"
#include "storage/storage.h"
#include "view_channels.h"
@@ -26,7 +26,7 @@
#include "color_picker.h"
#include "layout_factory_impl.h"
#include "libopenui.h"
#include "opentx.h"
#include "edgetx.h"
#include "topbar.h"
#include "view_main.h"
#include "widget_settings.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#include "bitmaps.h"
#include "hal/adc_driver.h"
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
static const lv_style_const_prop_t shadow1_props[] = {
+1 -1
View File
@@ -23,7 +23,7 @@
#include "layer.h"
#include "menu_screen.h"
#include "opentx.h"
#include "edgetx.h"
#include "storage/storage.h"
#include "etx_lv_theme.h"
#include "topbar_impl.h"
@@ -20,7 +20,7 @@
*/
#include "topbar_impl.h"
#include "opentx.h"
#include "edgetx.h"
#include "theme_manager.h"
#include "view_main.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#include "bitmaps.h"
#include "input_mapping.h"
#include "opentx.h"
#include "edgetx.h"
#include "sliders.h"
class TrimIcon : public SliderIcon
@@ -21,7 +21,7 @@
#include "view_about.h"
#include "opentx.h"
#include "edgetx.h"
#include "stamp.h"
#if defined(VERSION_TAG)
@@ -27,7 +27,7 @@
#include "menu_radio.h"
#include "menu_screen.h"
#include "model_select.h"
#include "opentx.h"
#include "edgetx.h"
#include "view_logical_switches.h"
//-----------------------------------------------------------------------------
@@ -21,7 +21,7 @@
#include "view_logical_switches.h"
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
#include "etx_lv_theme.h"
@@ -25,7 +25,7 @@
#include "menu_radio.h"
#include "menu_screen.h"
#include "model_select.h"
#include "opentx.h"
#include "edgetx.h"
#include "topbar_impl.h"
#include "view_channels.h"
#include "view_main_menu.h"
@@ -22,9 +22,9 @@
#include "view_main_decoration.h"
// because of IS_POT_MULTIPOS() and pal
#include "opentx.h"
#include "edgetx.h"
// these 2 need things from opentx.h
// these 2 need things from edgetx.h
#include "sliders.h"
#include "trims.h"
@@ -25,7 +25,7 @@
#include "menu_radio.h"
#include "menu_screen.h"
#include "model_select.h"
#include "opentx.h"
#include "edgetx.h"
#include "select_fab_carousel.h"
#include "etx_lv_theme.h"
#include "view_about.h"
@@ -21,7 +21,7 @@
#include "view_statistics.h"
#include "opentx.h"
#include "edgetx.h"
#include "tasks.h"
#include "tasks/mixer_task.h"
#include "mixer_scheduler.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#include "widget.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#include "view_main.h"
#include "widget_settings.h"
@@ -23,7 +23,7 @@
#include "color_picker.h"
#include "libopenui.h"
#include "opentx.h"
#include "edgetx.h"
#include "sourcechoice.h"
#include "switchchoice.h"
#include "view_main.h"
+1 -1
View File
@@ -22,7 +22,7 @@
#include "curveedit.h"
#include "libopenui.h"
#include "opentx.h" // TODO for applyCustomCurve
#include "edgetx.h" // TODO for applyCustomCurve
#include "etx_lv_theme.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -23,7 +23,7 @@
#include "function_switches.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "switches.h"
+1 -1
View File
@@ -27,7 +27,7 @@
#include "source_numberedit.h"
#include "input_edit_adv.h"
#include "input_source.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#include "switchchoice.h"
@@ -22,7 +22,7 @@
#include "input_edit_adv.h"
#include "fm_matrix.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
+1 -1
View File
@@ -35,7 +35,7 @@
#include "model_select.h"
#include "model_setup.h"
#include "model_telemetry.h"
#include "opentx.h"
#include "edgetx.h"
#include "special_functions.h"
#include "translations.h"
#include "view_channels.h"
+1 -1
View File
@@ -27,7 +27,7 @@
#include "curve_param.h"
#include "mixer_edit_adv.h"
#include "mixes.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#include "sourcechoice.h"
#include "switchchoice.h"
@@ -24,7 +24,7 @@
#include "fm_matrix.h"
#include "mixes.h"
#include "numberedit.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -23,7 +23,7 @@
#include "curveedit.h"
#include "libopenui.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
+1 -1
View File
@@ -21,7 +21,7 @@
#pragma once
#include "opentx.h"
#include "edgetx.h"
#include "tabsgroup.h"
class ModelCurvesPage : public PageTab
@@ -23,7 +23,7 @@
#include "libopenui.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "switchchoice.h"
#include "etx_lv_theme.h"
@@ -22,7 +22,7 @@
#pragma once
#include "tabsgroup.h"
#include "opentx.h"
#include "edgetx.h"
class ModelFlightModesPage : public PageTab
{
+1 -1
View File
@@ -24,7 +24,7 @@
#include "libopenui.h"
#include "list_line_button.h"
#include "numberedit.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "etx_lv_theme.h"
+1 -1
View File
@@ -22,7 +22,7 @@
#pragma once
#include "tabsgroup.h"
#include "opentx.h"
#include "edgetx.h"
class ModelGVarsPage : public PageTab
{
+1 -1
View File
@@ -20,7 +20,7 @@
*/
#include "model_heli.h"
#include "opentx.h"
#include "edgetx.h"
#include "libopenui.h"
#include "sourcechoice.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#pragma once
#include "opentx.h"
#include "edgetx.h"
#include "tabsgroup.h"
class ModelHeliPage : public PageTab
@@ -25,7 +25,7 @@
#include "hal/adc_driver.h"
#include "input_edit.h"
#include "opentx.h"
#include "edgetx.h"
#include "tasks/mixer_task.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -23,7 +23,7 @@
#include "libopenui.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "sourcechoice.h"
#include "switchchoice.h"
@@ -22,7 +22,7 @@
#pragma once
#include "tabsgroup.h"
#include "opentx.h"
#include "edgetx.h"
class ModelLogicalSwitchesPage : public PageTab
{
@@ -27,7 +27,7 @@
#include "list_line_button.h"
#include "lua/lua_api.h"
#include "menus.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "sourcechoice.h"
#include "etx_lv_theme.h"
@@ -22,7 +22,7 @@
#pragma once
#include "tabsgroup.h"
#include "opentx.h"
#include "edgetx.h"
class ModelMixerScriptsPage : public PageTab
{
+1 -1
View File
@@ -20,7 +20,7 @@
*/
#include "model_mixes.h"
#include "opentx.h"
#include "edgetx.h"
#include "mixer_edit.h"
#include "mixes.h"
#include "channel_bar.h"
@@ -23,7 +23,7 @@
#include "channel_bar.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "output_edit.h"
#include "etx_lv_theme.h"
@@ -26,7 +26,7 @@
#include "menu_radio.h"
#include "menu_screen.h"
#include "model_templates.h"
#include "opentx.h"
#include "edgetx.h"
#include "standalone_lua.h"
#include "etx_lv_theme.h"
#include "view_channels.h"
+1 -1
View File
@@ -41,7 +41,7 @@
#include "trainer_setup.h"
#include "trims_setup.h"
#include "module_setup.h"
#include "opentx.h"
#include "edgetx.h"
#include "storage/modelslist.h"
#include "etx_lv_theme.h"
@@ -24,7 +24,7 @@
#include "fullscreen_dialog.h"
#include "libopenui.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "sourcechoice.h"
#include "etx_lv_theme.h"
@@ -22,7 +22,7 @@
#pragma once
#include "tabsgroup.h"
#include "opentx.h"
#include "edgetx.h"
class ModelTelemetryPage : public PageTab
{
@@ -23,7 +23,7 @@
#include <functional>
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
class TemplatePage : public Page
@@ -24,7 +24,7 @@
#include "button_matrix.h"
#include "channel_bar.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#include "usb_joystick.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#include "channel_bar.h"
#include "gvar_numberedit.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -24,7 +24,7 @@
#include "button_matrix.h"
#include "hal/adc_driver.h"
#include "hal/switch_driver.h"
#include "opentx.h"
#include "edgetx.h"
#include "strhelpers.h"
#include "etx_lv_theme.h"
@@ -23,7 +23,7 @@
#include "libopenui.h"
#include "list_line_button.h"
#include "opentx.h"
#include "edgetx.h"
#include "page.h"
#include "tabsgroup.h"
@@ -20,7 +20,7 @@
*/
#include "throttle_params.h"
#include "opentx.h"
#include "edgetx.h"
#include "sourcechoice.h"
#include "switchchoice.h"
+1 -1
View File
@@ -21,7 +21,7 @@
#include "timer_setup.h"
#include "opentx.h"
#include "edgetx.h"
#include "switchchoice.h"
#include "timeedit.h"
@@ -20,7 +20,7 @@
*/
#include "trainer_bluetooth.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -20,7 +20,7 @@
*/
#include "trainer_setup.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
+1 -1
View File
@@ -21,7 +21,7 @@
#include "trims_setup.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -24,7 +24,7 @@
#include <functional>
#include "channel_bar.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -20,7 +20,7 @@
*/
#include "afhds2a_settings.h"
#include "opentx.h"
#include "edgetx.h"
#include "pulses/flysky.h"
@@ -20,7 +20,7 @@
*/
#include "afhds3_options.h"
#include "opentx.h"
#include "edgetx.h"
static const lv_coord_t col_dsc[] = {LV_GRID_FR(1), LV_GRID_FR(1),
LV_GRID_TEMPLATE_LAST};
@@ -22,7 +22,7 @@
#include "afhds3_settings.h"
#include "afhds3_options.h"
#include "opentx.h"
#include "edgetx.h"
static const char* const _afhds3_region[] = {"CE", "FCC"};
@@ -20,7 +20,7 @@
*/
#include "bind_menu_d16.h"
#include "opentx.h"
#include "edgetx.h"
#if defined(MULTIMODULE)
#include "telemetry/multi.h"
@@ -20,7 +20,7 @@
*/
#include "crossfire_settings.h"
#include "opentx.h"
#include "edgetx.h"
#include "mixer_scheduler.h"
@@ -22,7 +22,7 @@
#include "custom_failsafe.h"
#include "channel_bar.h"
#include "opentx.h"
#include "edgetx.h"
#include "etx_lv_theme.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -28,7 +28,7 @@
#include "custom_failsafe.h"
#include "form.h"
#include "mixer_scheduler.h"
#include "opentx.h"
#include "edgetx.h"
#include "ppm_settings.h"
#include "storage/modelslist.h"
#include "etx_lv_theme.h"
@@ -24,7 +24,7 @@
#include "choice.h"
#include "io/multi_protolist.h"
#include "multi_rfprotos.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -21,7 +21,7 @@
#include "ppm_settings.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -22,7 +22,7 @@
#include "pxx1_settings.h"
#include "choice.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_MODEL)
@@ -21,7 +21,7 @@
#include "hw_bluetooth.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_GENERAL)
@@ -21,7 +21,7 @@
#include "hw_extmodule.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_GENERAL)
+1 -1
View File
@@ -24,7 +24,7 @@
#include "analogs.h"
#include "hal/adc_driver.h"
#include "hal/switch_driver.h"
#include "opentx.h"
#include "edgetx.h"
#include "switches.h"
#define SET_DIRTY() storageDirty(EE_GENERAL)
@@ -21,7 +21,7 @@
#include "hw_intmodule.h"
#include "opentx.h"
#include "edgetx.h"
#if defined(CROSSFIRE)
#include "telemetry/crossfire.h"
+1 -1
View File
@@ -20,7 +20,7 @@
*/
#include "hw_serial.h"
#include "opentx.h"
#include "edgetx.h"
#define SET_DIRTY() storageDirty(EE_GENERAL)
+1 -1
View File
@@ -25,7 +25,7 @@
#include "menu_screen.h"
#include "model_select.h"
#include "myeeprom.h"
#include "opentx.h"
#include "edgetx.h"
#include "radio_calibration.h"
#include "radio_hardware.h"
#include "radio_sdmanager.h"
@@ -22,7 +22,7 @@
#include "preview_window.h"
#include "libopenui.h"
#include "opentx.h"
#include "edgetx.h"
#include "sliders.h"
#include "etx_lv_theme.h"
#include "trims.h"

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