1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Update compass drivers so they do not include "board.h". It is now clear

what all compass drivers need to compile and what was unnecessarily
included before.

LED macros now moved into light_led.h
This commit is contained in:
Dominic Clifton 2014-04-17 12:33:59 +01:00
parent 1205765b4c
commit b6232573c0
11 changed files with 55 additions and 47 deletions

View file

@ -1,7 +1,22 @@
#include "board.h"
#include <stdbool.h>
#include <stdint.h>
#include <math.h>
#include "platform.h"
#include "system_common.h"
#include "gpio_common.h"
#include "bus_i2c.h"
#include "light_led.h"
#include "boardalignment.h"
#include "sensors_common.h"
#include "maths.h"
#include "compass_hmc5883l.h"
// HMC5883L, default address 0x1E
// PB12 connected to MAG_DRDY on rev4 hardware
// PC14 connected to MAG_DRDY on rev5 hardware