Disable L3GD20H and LSM303D

Is there someway to disable these two sensors on copter for the pixhawk? The one on mine is faulty and I just want to use the mpu6050.

I had a look through the code but couldn’t find an obvious place to do it. It looks like the sensors are registered in NuttX and arducopter just scans the NuttX offering.

Any tips greatly appreciated.

Best wishes

I think the ins_use2 parameter is the one you want.