X7 : assume R9M is PXX2
This commit is contained in:
@@ -200,9 +200,9 @@ PACK(typedef struct {
|
||||
extern HardwareOptions hardwareOptions;
|
||||
|
||||
#if defined(PCBX10)
|
||||
#define IS_PXX2_ENABLED() (true)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (true)
|
||||
#else
|
||||
#define IS_PXX2_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
#endif
|
||||
|
||||
void init_ppm(uint8_t module);
|
||||
|
||||
@@ -457,10 +457,10 @@ extern HardwareOptions hardwareOptions;
|
||||
#define NUM_TRIMS_KEYS 8
|
||||
#endif
|
||||
|
||||
#if defined(PCBXLITES)
|
||||
#define IS_PXX2_ENABLED() (true)
|
||||
#if defined(PCBXLITES) || defined(DEBUG)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (true)
|
||||
#else
|
||||
#define IS_PXX2_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
#endif
|
||||
|
||||
enum CalibratedAnalogs {
|
||||
|
||||
Reference in New Issue
Block a user