mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 15:03:34 +08:00
sensors (accel/gyro/mag) determine if external with device id
This commit is contained in:
@@ -45,7 +45,6 @@ AK09916::AK09916(const I2CSPIDriverConfig &config) :
|
||||
I2CSPIDriver(config),
|
||||
_px4_mag(get_device_id(), config.rotation)
|
||||
{
|
||||
_px4_mag.set_external(external());
|
||||
}
|
||||
|
||||
AK09916::~AK09916()
|
||||
|
||||
@@ -45,7 +45,6 @@ AK8963::AK8963(const I2CSPIDriverConfig &config) :
|
||||
I2CSPIDriver(config),
|
||||
_px4_mag(get_device_id(), config.rotation)
|
||||
{
|
||||
_px4_mag.set_external(external());
|
||||
}
|
||||
|
||||
AK8963::~AK8963()
|
||||
|
||||
Reference in New Issue
Block a user