Merge with latest 2.3
This commit is contained in:
+14
-6
@@ -561,6 +561,8 @@ bool setTrimValue(uint8_t phase, uint8_t idx, int trim);
|
||||
|
||||
#if defined(PCBSKY9X)
|
||||
#define ROTARY_ENCODER_GRANULARITY (2 << g_eeGeneral.rotarySteps)
|
||||
#elif defined(RADIO_T16)
|
||||
#define ROTARY_ENCODER_GRANULARITY (1)
|
||||
#else
|
||||
#define ROTARY_ENCODER_GRANULARITY (2)
|
||||
#endif
|
||||
@@ -584,9 +586,8 @@ void flightReset(uint8_t check=true);
|
||||
|
||||
PACK(struct GlobalData {
|
||||
uint8_t unexpectedShutdown:1;
|
||||
uint8_t sdcardPresent:1;
|
||||
uint8_t externalAntennaEnabled: 1;
|
||||
uint8_t spare:5;
|
||||
uint8_t spare:6;
|
||||
});
|
||||
|
||||
extern GlobalData globalData;
|
||||
@@ -887,8 +888,9 @@ uint8_t lswFamily(uint8_t func);
|
||||
int16_t lswTimerValue(delayval_t val);
|
||||
|
||||
enum FunctionsActive {
|
||||
FUNCTION_TRAINER,
|
||||
FUNCTION_INSTANT_TRIM = FUNCTION_TRAINER+4,
|
||||
FUNCTION_TRAINER_STICK1,
|
||||
FUNCTION_TRAINER_CHANNELS = FUNCTION_TRAINER_STICK1 + NUM_STICKS,
|
||||
FUNCTION_INSTANT_TRIM,
|
||||
FUNCTION_VARIO,
|
||||
FUNCTION_BACKLIGHT,
|
||||
#if defined(SDCARD)
|
||||
@@ -1085,6 +1087,8 @@ union ReusableBuffer
|
||||
char msg[64];
|
||||
uint8_t r9mPower;
|
||||
int8_t antennaMode;
|
||||
uint8_t previousType;
|
||||
uint8_t newType;
|
||||
BindInformation bindInformation;
|
||||
struct {
|
||||
union {
|
||||
@@ -1169,12 +1173,11 @@ union ReusableBuffer
|
||||
|
||||
struct {
|
||||
uint8_t bars[LCD_W];
|
||||
#if defined(COLORLCD)
|
||||
uint8_t max[LCD_W];
|
||||
#endif
|
||||
uint32_t freq;
|
||||
uint32_t span;
|
||||
uint32_t step;
|
||||
uint32_t track;
|
||||
uint8_t spanDefault;
|
||||
uint8_t spanMax;
|
||||
uint16_t freqDefault;
|
||||
@@ -1383,4 +1386,9 @@ inline bool isAsteriskDisplayed()
|
||||
|
||||
#include "module.h"
|
||||
|
||||
#if defined(ACCESS_LIB)
|
||||
// TODO should be inside module.h
|
||||
#include "thirdparty/libACCESS/libAccess.h"
|
||||
#endif
|
||||
|
||||
#endif // _OPENTX_H_
|
||||
|
||||
Reference in New Issue
Block a user