1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

[VTX] RTC6705 power down is now controlled by pitmode rather than powervalue (#8939)

This commit is contained in:
functionpointer 2019-09-23 19:33:12 +02:00
parent f9be9d85f4
commit f7c0a87c09
9 changed files with 56 additions and 47 deletions

View file

@ -49,11 +49,7 @@
#define VTX_TABLE_DEFAULT_CHANNEL 1
#define VTX_TABLE_DEFAULT_FREQ 5740
#define VTX_TABLE_DEFAULT_PITMODE_FREQ 0
#ifdef USE_VTX_RTC6705
#define VTX_TABLE_DEFAULT_POWER VTX_RTC6705_DEFAULT_POWER_INDEX
#else
#define VTX_TABLE_DEFAULT_POWER 1 //lowest actual power mode
#endif
#define VTX_TABLE_DEFAULT_POWER 1 //1-based indexing. 0 means unknown and 1 is the lowest actual power mode
struct vtxTableConfig_s;
void vtxTableInit(void);