Compilation failure

This commit is contained in:
Bertrand Songis
2016-03-21 21:51:51 +01:00
parent c19b35ea0e
commit c8a84a404b
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -470,6 +470,7 @@ bool isRfProtocolAvailable(int protocol)
return true;
}
#if defined(PCBHORUS) || defined(PCBTARANIS)
bool isTrainerModeAvailable(int mode)
{
if (IS_EXTERNAL_MODULE_PRESENT() && (mode == TRAINER_MODE_MASTER_SBUS_EXTERNAL_MODULE || mode == TRAINER_MODE_MASTER_CPPM_EXTERNAL_MODULE))
@@ -477,6 +478,7 @@ bool isTrainerModeAvailable(int mode)
else
return true;
}
#endif
bool modelHasNotes()
{
+2
View File
@@ -1515,6 +1515,8 @@ uint16_t BandGap ;
#define JITTER_MEASURE_ACTIVE() (menuHandlers[menuLevel] == menuGeneralDiagAna)
#elif defined(CLI)
#define JITTER_MEASURE_ACTIVE() (1)
#else
#define JITTER_MEASURE_ACTIVE() (0)
#endif
#endif