Fix WS2812 led definition
[inav.git] / src / main / io / vtx_tramp.h
blob1f44201853cc0918bc50d48348fc1452d06d2630
1 /*
2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
18 #pragma once
20 #include <stdint.h>
22 // 5.8 GHz
23 #define VTX_TRAMP_5G8_BAND_COUNT 5
24 #define VTX_TRAMP_5G8_CHANNEL_COUNT 8
26 #define VTX_TRAMP_5G8_MAX_POWER_COUNT 5
27 #define VTX_TRAMP_5G8_DEFAULT_POWER 1
29 #define VTX_TRAMP_5G8_MIN_FREQUENCY_MHZ 5000 //min freq in MHz
30 #define VTX_TRAMP_5G8_MAX_FREQUENCY_MHZ 5999 //max freq in MHz
32 // 1.3 GHz
33 #define VTX_TRAMP_1G3_BAND_COUNT 2
34 #define VTX_TRAMP_1G3_CHANNEL_COUNT 8
36 #define VTX_TRAMP_1G3_MAX_POWER_COUNT 3
37 #define VTX_TRAMP_1G3_DEFAULT_POWER 1
39 #define VTX_TRAMP_1G3_MIN_FREQUENCY_MHZ 1000
40 #define VTX_TRAMP_1G3_MAX_FREQUENCY_MHZ 1399
42 bool vtxTrampInit(void);