From 8e34388a203fc44a47d6b0339c9f408dd1edac43 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 3 Jan 2021 19:12:20 +1100 Subject: [PATCH] SITL: move simulated maxsonari2c to bus 0 .... where the driver expects it by default --- libraries/SITL/SIM_I2C.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SITL/SIM_I2C.cpp b/libraries/SITL/SIM_I2C.cpp index 65c2b8c966..4ad189b3bb 100644 --- a/libraries/SITL/SIM_I2C.cpp +++ b/libraries/SITL/SIM_I2C.cpp @@ -55,11 +55,11 @@ struct i2c_device_at_address { uint8_t addr; I2CDevice &device; } i2c_devices[] { + { 0, 0x70, maxsonari2cxl }, { 1, 0x55, toshibaled }, { 1, 0x38, ignored }, // NCP5623 { 1, 0x39, ignored }, // NCP5623C { 1, 0x40, ignored }, // KellerLD - { 1, 0x70, maxsonari2cxl }, { 1, 0x76, ignored }, // MS56XX { 2, 0x0B, rotoye }, { 2, 0x28, airspeed_dlvr },