mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-24 16:01:53 +08:00
[iis2mdc] Help device detection by retrying probing
This commit is contained in:
1 parent
56d53b60c0
commit
3971db3cb4
1 file changed
+1
@@ -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