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
@@ -22,7 +22,7 @@
#include "adc_driver.h"
#include "board.h"
#include "opentx.h"
#include "edgetx.h"
const etx_hal_adc_driver_t* _hal_adc_driver = nullptr;
const etx_hal_adc_inputs_t* _hal_adc_inputs = nullptr;
+1 -1
View File
@@ -22,7 +22,7 @@
#pragma once
#include <stdint.h>
#include "opentx_types.h"
#include "edgetx_types.h"
// 12-bit values
#define ADC_MAX_VALUE 4095
+2 -2
View File
@@ -25,8 +25,8 @@
#include "hal/adc_driver.h"
#include "dataconstants.h"
#include "opentx_helpers.h"
#include "opentx.h"
#include "edgetx_helpers.h"
#include "edgetx.h"
// Board API
void boardInitSwitches();
+1 -1
View File
@@ -22,7 +22,7 @@
#pragma once
#include <stdint.h>
#include "opentx_types.h"
#include "edgetx_types.h"
enum SwitchHwType {
SWITCH_HW_2POS = 0,