From 396f20685eb6e0debaf9f0f4c7d0e0d11a292912 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 11 Mar 2024 14:36:30 +0100 Subject: [PATCH] Add I2C resource for compass to DAKEFPVF405 (#350) Keep in sync with https://github.com/betaflight/unified-targets/pull/1267 --- configs/DAKEFPVF405/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/DAKEFPVF405/config.h b/configs/DAKEFPVF405/config.h index 1c637a71..58ac9bc1 100644 --- a/configs/DAKEFPVF405/config.h +++ b/configs/DAKEFPVF405/config.h @@ -104,7 +104,7 @@ #define ADC2_DMA_OPT 1 #define BARO_SPI_INSTANCE SPI2 - +#define MAG_I2C_INSTANCE (I2CDEV_1) #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF