mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +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
|
@ -150,8 +150,6 @@ typedef void (* pidControllerFuncPtr)(void); // pid controller fu
|
|||
#define BEEP_ON ;
|
||||
#endif
|
||||
|
||||
#undef SOFT_I2C // enable to test software i2c
|
||||
|
||||
#include "boardalignment.h"
|
||||
#include "battery.h"
|
||||
#include "math.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue