mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 14:37:34 +08:00
[iis2mdc] Help device detection by retrying probing
This commit is contained in:
committed by
Niklas Hauser
parent
56d53b60c0
commit
3971db3cb4
@@ -50,6 +50,7 @@ protected:
|
||||
IIS2MDC_I2C::IIS2MDC_I2C(const I2CSPIDriverConfig &config) :
|
||||
I2C(config)
|
||||
{
|
||||
_retries = 10;
|
||||
}
|
||||
|
||||
int IIS2MDC_I2C::probe()
|
||||
|
||||
Reference in New Issue
Block a user