1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Clean up vtx.c includes, move all not directly used to where they belong.

This commit is contained in:
Anders Hoglund 2016-10-01 18:30:58 +02:00
parent 92d2e3ae91
commit 44abc8f2e4
14 changed files with 54 additions and 38 deletions

View file

@ -15,27 +15,21 @@
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdbool.h>
#include <stdint.h>
// Get target build configuration
#include "platform.h"
#ifdef VTX
#include "drivers/vtx_rtc6705.h"
#include "fc/rc_controls.h"
#include "fc/runtime_config.h"
#include "flight/pid.h"
#include "io/beeper.h"
// Own interfaces
#include "io/vtx.h"
#include "config/config.h"
#include "config/config_eeprom.h"
#include "config/config_profile.h"
//External dependencies
#include "config/config_master.h"
#include "config/config_eeprom.h"
#include "drivers/vtx_rtc6705.h"
#include "fc/runtime_config.h"
#include "io/beeper.h"
static uint8_t locked = 0;