Bind channel: configurable channel number

Bind channel can be configured between 5 and 16.
This commit is contained in:
pascallanger
2017-01-02 17:26:35 +01:00
parent 0d0acb9d10
commit 18e31b3821
3 changed files with 17 additions and 5 deletions

View File

@@ -110,3 +110,12 @@
#if not defined(PPM_MAX_100) || not defined(PPM_MIN_100) || not defined(PPM_MAX_125) || not defined(PPM_MIN_125)
#error You must set correct TX end points.
#endif
#if defined(ENABLE_BIND_CH)
#if BIND_CH<4
#error BIND_CH must be above 4.
#endif
#if BIND_CH>16
#error BIND_CH must be below or equal to 16.
#endif
#endif