1
0
Fork 0
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:
nathan 2016-07-10 20:34:42 -07:00
parent 6a3b973901
commit 741dee6d6d
3 changed files with 8 additions and 1 deletions

View file

@ -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,