mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
BST Port
This commit is contained in:
parent
1adcfaa798
commit
6da7ced9be
9 changed files with 2169 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
#include "drivers/pwm_rx.h"
|
||||
#include "drivers/adc.h"
|
||||
#include "drivers/bus_i2c.h"
|
||||
#include "drivers/bus_bst.h"
|
||||
#include "drivers/bus_spi.h"
|
||||
#include "drivers/inverter.h"
|
||||
#include "drivers/flash_m25p16.h"
|
||||
|
@ -303,6 +304,10 @@ void init(void)
|
|||
initInverter();
|
||||
#endif
|
||||
|
||||
#ifdef USE_BST
|
||||
bstInit(BST_DEVICE);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef USE_SPI
|
||||
spiInit(SPI1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue