1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Relocate common code which can be used by drivers and by main into

'common'.  Cleanup includes.  Fix FY90Q target compilation.
This commit is contained in:
Dominic Clifton 2014-04-17 23:50:13 +01:00
parent d4ebd8a748
commit f06c8bb99b
19 changed files with 41 additions and 36 deletions

View file

@ -7,13 +7,8 @@
#include "rx_common.h"
#include "config.h"
// FIXME all includes below are just for pwmReadRawRC because it uses mcfg
#ifdef FY90Q
#include "drivers/pwm_fy90q.h"
#else
#include "drivers/pwm_common.h"
#endif
int16_t rcData[RC_CHANS]; // interval [1000;2000]