Use constant

This commit is contained in:
3djc
2019-02-09 11:37:47 +01:00
parent 62c7a1978e
commit 5aae25284b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -193,6 +193,7 @@ static const int8_t maxChannelsXJT[] = { 0, 8, 0, 4 }; // relative to 8!
constexpr int8_t MAX_TRAINER_CHANNELS_M8 = MAX_TRAINER_CHANNELS - 8;
constexpr int8_t MAX_EXTRA_MODULE_CHANNELS_M8 = 8; // only 16ch PPM
constexpr int8_t PXX2_MODULE_CHANNELS=16;
inline int8_t maxModuleChannels_M8(uint8_t idx)
{