[Pulses] PXX2 Probe warning
This commit is contained in:
@@ -182,9 +182,6 @@ void boardInit()
|
||||
pwrInit();
|
||||
delaysInit();
|
||||
|
||||
// FrSky removed the volume chip in latest board, that's why it doesn't answer!
|
||||
// i2cInit();
|
||||
|
||||
#if defined(DEBUG)
|
||||
serial2Init(0, 0); // default serial mode (None if DEBUG not defined)
|
||||
#endif
|
||||
@@ -194,6 +191,11 @@ void boardInit()
|
||||
TRACE("\nHorus board started :)");
|
||||
TRACE("RCC->CSR = %08x", RCC->CSR);
|
||||
|
||||
#if defined(PXX2)
|
||||
#warning "PXX2 probe is not implemented"
|
||||
hardwareOptions.pxx2Enabled = true;
|
||||
#endif
|
||||
|
||||
audioInit();
|
||||
|
||||
// we need to initialize g_FATFS_Obj here, because it is in .ram section (because of DMA access)
|
||||
|
||||
@@ -199,11 +199,7 @@ PACK(typedef struct {
|
||||
|
||||
extern HardwareOptions hardwareOptions;
|
||||
|
||||
#if defined(PCBX10)
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (true)
|
||||
#else
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
#endif
|
||||
#define IS_PXX2_INTERNAL_ENABLED() (hardwareOptions.pxx2Enabled)
|
||||
|
||||
void init_ppm(uint8_t module);
|
||||
void disable_ppm(uint8_t module);
|
||||
|
||||
Reference in New Issue
Block a user