vtx: fix VTX_SETTINGS_POWER_COUNT and add dummy entries to saPowerNames
[inav.git] / src / main / io / vtx_string.h
blobe23990ec77cefbeec89cd6157325a6f4c4b47869
1 #pragma once
3 #include <stdint.h>
5 extern const uint16_t vtx58frequencyTable[5][8];
6 extern const char * const vtx58BandNames[];
7 extern const char * const vtx58ChannelNames[];
8 extern const char * const vtx58DefaultPowerNames[];
9 extern const char vtx58BandLetter[];
11 extern const uint16_t vtx1G3frequencyTable[2][8];
12 extern const char * const vtx1G3BandNames[];
13 extern const char * const vtx1G3ChannelNames[];
14 extern const char * const vtx1G3DefaultPowerNames[];
15 extern const char vtx51G3BandLetter[];
17 bool vtx58_Freq2Bandchan(uint16_t freq, uint8_t *pBand, uint8_t *pChannel);
18 uint16_t vtx58_Bandchan2Freq(uint8_t band, uint8_t channel);
19 uint16_t vtx1G3_Bandchan2Freq(uint8_t band, uint8_t channel);