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