From 8f6fc7cd507baab5f8426690c8c1e62f167ae271 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 13 May 2019 12:37:32 +0200 Subject: [PATCH] Compilation fix --- radio/src/dataconstants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/dataconstants.h b/radio/src/dataconstants.h index 455221c92..077ee68ac 100644 --- a/radio/src/dataconstants.h +++ b/radio/src/dataconstants.h @@ -708,7 +708,7 @@ enum MixSources { MIXSRC_LAST_TELEM = MIXSRC_FIRST_TELEM+3*MAX_TELEMETRY_SENSORS-1 }; -static_assert(MIXSRC_FIRST_LOGICAL_SWITCH == MIXSRC_FIRST_SWITCH + NUM_SWITCHES); +static_assert(MIXSRC_FIRST_LOGICAL_SWITCH == MIXSRC_FIRST_SWITCH + NUM_SWITCHES, "Wrong switches definition in MIXSRC list"); #define MIXSRC_FIRST (MIXSRC_NONE + 1) #define MIXSRC_LAST MIXSRC_LAST_CH