mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
preprocessor defines for spi mpu6000 and spi bmp280, check for the button feature, not specific targets
This commit is contained in:
parent
6a3b973901
commit
741dee6d6d
3 changed files with 8 additions and 1 deletions
|
@ -193,7 +193,7 @@ void init(void)
|
|||
EXTIInit();
|
||||
#endif
|
||||
|
||||
#if defined(SPRACINGF3MINI) || defined(OMNIBUS)
|
||||
#if defined(BUTTONS)
|
||||
gpio_config_t buttonAGpioConfig = {
|
||||
BUTTON_A_PIN,
|
||||
Mode_IPU,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue