From 9f08bc63ea0a518813b05cd6859967e2fd65b048 Mon Sep 17 00:00:00 2001 From: LinJieqiang <517503838@qq.com> Date: Sat, 7 Sep 2019 21:52:09 +0800 Subject: [PATCH] Unified Target: add baro sensor auto detect feature for IFF4 boards. --- unified_targets/configs/IFF4_TWIN_G.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unified_targets/configs/IFF4_TWIN_G.config b/unified_targets/configs/IFF4_TWIN_G.config index db0a4ce5c9..44266eee29 100644 --- a/unified_targets/configs/IFF4_TWIN_G.config +++ b/unified_targets/configs/IFF4_TWIN_G.config @@ -93,7 +93,8 @@ serial 1 64 115200 57600 0 115200 # master set gyro_to_use = BOTH set mag_hardware = NONE -set baro_hardware = NONE +set baro_bustype = I2C +set baro_i2c_device = 1 set serialrx_provider = SBUS set blackbox_device = SPIFLASH set dshot_burst = ON @@ -112,4 +113,4 @@ set gyro_1_sensor_align = CW0 set gyro_2_spibus = 1 set gyro_2_sensor_align = CW90 set beeper_inversion = ON -set beeper_od = OFF +set beeper_od = OFF \ No newline at end of file