Hi Guys,
I'm looking take the baro out of the self test im my firmware as it has an I2C fault. Anyone seen the selftest code and could help me find it?
Thanks,
Where is the self test?
Re: Where is the self test?
Hi,
hal/src/imu.c
There should be somewhere this code
So remove at the beginning of the file this line: #define IMU_ENABLE_PRESSURE_MS5611
I didn't test it but I think it will work
hal/src/imu.c
There should be somewhere this code
Code: Select all
#ifdef IMU_ENABLE_PRESSURE_MS5611
if (ms5611Init(I2C1) == TRUE)
{
isMs5611Present = TRUE;
DEBUG_PRINT("MS5611 I2C connection [OK].\n");
}
else
{
DEBUG_PRINT("MS5611 I2C connection [FAIL].\n");
}
#endif
I didn't test it but I think it will work
-
- Member
- Posts: 51
- Joined: Wed Dec 17, 2014 12:56 pm
Re: Where is the self test?
Thanks dude!