Compilation fix
This commit is contained in:
@@ -239,6 +239,12 @@ inline uint8_t MODULE_SUBTYPE_ROWS(int moduleIdx)
|
|||||||
#define TIMER_ROWS(x) 2, 0, 0, 0, g_model.timers[x].countdownBeep != COUNTDOWN_SILENT ? (uint8_t)1 : (uint8_t)0
|
#define TIMER_ROWS(x) 2, 0, 0, 0, g_model.timers[x].countdownBeep != COUNTDOWN_SILENT ? (uint8_t)1 : (uint8_t)0
|
||||||
#define TIMERS_ROWS TIMER_ROWS(0), TIMER_ROWS(1), TIMER_ROWS(2)
|
#define TIMERS_ROWS TIMER_ROWS(0), TIMER_ROWS(1), TIMER_ROWS(2)
|
||||||
|
|
||||||
|
#if defined(PCBSKY9X) && defined(REVX)
|
||||||
|
#define EXTERNAL_MODULE_OUTPUT_ROW 0, // Output type (OpenDrain / PushPull)
|
||||||
|
#else
|
||||||
|
#define EXTERNAL_MODULE_OUTPUT_ROW
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PCBSKY9X)
|
#if defined(PCBSKY9X)
|
||||||
#define EXTRA_MODULE_ROWS LABEL(ExtraModule), 1, 2,
|
#define EXTRA_MODULE_ROWS LABEL(ExtraModule), 1, 2,
|
||||||
#else
|
#else
|
||||||
@@ -447,9 +453,9 @@ void menuModelSetup(event_t event)
|
|||||||
0, // Global functions
|
0, // Global functions
|
||||||
|
|
||||||
EXTERNAL_MODULE_ROWS
|
EXTERNAL_MODULE_ROWS
|
||||||
#if defined(PCBSKY9X) && defined(REVX)
|
|
||||||
0, // Output type (OpenDrain / PushPull)
|
EXTERNAL_MODULE_OUTPUT_ROW
|
||||||
#endif
|
|
||||||
EXTRA_MODULE_ROWS
|
EXTRA_MODULE_ROWS
|
||||||
|
|
||||||
TRAINER_ROWS
|
TRAINER_ROWS
|
||||||
|
|||||||
Reference in New Issue
Block a user