chore: more OTX to ETX housekeeping (#5396)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "opentx_types.h"
|
||||
#include "edgetx_types.h"
|
||||
|
||||
enum SwitchHwType {
|
||||
SWITCH_HW_2POS = 0,
|
||||
|
||||
Reference in New Issue
Block a user