mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 22:40:27 +08:00
ina238: actually run it
Without this the driver would not run when started from the i2c_launcher.
This commit is contained in:
1 parent
abf903a851
commit
bf9167da50
1 file changed
+9
-1
@@ -137,7 +137,15 @@ int INA238::init()
|
||||
return ret;
|
||||
}
|
||||
|
||||
return Reset();
|
||||
ret = Reset();
|
||||
|
||||
if (ret) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
start();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int INA238::force_init()
|
||||
|
||||
Reference in new issue
Block a user