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:
parent
ff0f4e66a9
commit
1205765b4c
8 changed files with 33 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue