From 70e43926533ab057d5ff4e750702f3faaae563b1 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Sat, 9 Mar 2024 21:06:41 +0100 Subject: [PATCH] Add I2C resource for compass to DAKEFPVF405 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