mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Remove gps_common.c's dependencies on the mw.h/board.h.
Moved some GPS code from mw.c into gps_common.c. Moved pid values into a pidProfile_t structure; this was done so that gps_common.c does not have a dependency on config_profile.h. pidProfile_t lives in flight_common.h now. Moved gps profile settings from profile_t into gpsProfile_t for the same reason. Removed gps_common.c's dependency on masterConfig_t by passing needed variables into gpsInit().
This commit is contained in:
parent
f8d0dd98f7
commit
2c80094b0e
14 changed files with 332 additions and 251 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include "flight_common.h"
|
||||
|
||||
int16_t heading, magHold;
|
||||
|
||||
|
||||
void mwDisarm(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue