mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 08:39:07 +08:00
ina238: actually run it
Without this the driver would not run when started from the i2c_launcher.
This commit is contained in:
parent
abf903a851
commit
bf9167da50
@ -137,7 +137,15 @@ int INA238::init()
|
||||
return ret;
|
||||
}
|
||||
|
||||
return Reset();
|
||||
ret = Reset();
|
||||
|
||||
if (ret) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
start();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int INA238::force_init()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user