1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Used forward references to remove #includes from header files

This commit is contained in:
Martin Budden 2016-08-03 21:19:40 +01:00
parent ca703b1ff1
commit f6194f0eb7
19 changed files with 40 additions and 31 deletions

View file

@ -21,8 +21,8 @@
#define I2C_LONG_TIMEOUT ((uint32_t)(10 * I2C_SHORT_TIMEOUT))
#define I2C_DEFAULT_TIMEOUT I2C_SHORT_TIMEOUT
#include "drivers/io.h"
#include "drivers/rcc.h"
#include "io.h"
#include "rcc.h"
#ifndef I2C_DEVICE
#define I2C_DEVICE I2CINVALID