1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Update i2c/spi drivers so they do not include "board.h". It is now clear

what all i2c/spi drivers need to compile and what was unnecessarily
included
before.

Renamed printf_config.h into build_config.h, move SOFT_I2C toggle switch
to build_config.h.
This commit is contained in:
Dominic Clifton 2014-04-17 12:06:32 +01:00
parent ff0f4e66a9
commit 1205765b4c
8 changed files with 33 additions and 9 deletions

View file

@ -1,4 +1,11 @@
#include "board.h"
#include <stdbool.h>
#include <stdint.h>
#include <platform.h>
#include "gpio_common.h"
#include "bus_spi.h"
// SPI2 Driver
// PB15 28 SPI2_MOSI