mirror of https://github.com/ArduPilot/ardupilot
InertialSensor: remove product_id set to zero
This commit is contained in:
parent
7b0e806db1
commit
b650d39786
|
@ -284,8 +284,6 @@ AP_InertialSensor::init( Start_style style,
|
||||||
_detect_backends();
|
_detect_backends();
|
||||||
}
|
}
|
||||||
|
|
||||||
_product_id = 0; // FIX
|
|
||||||
|
|
||||||
// initialise accel scale if need be. This is needed as we can't
|
// initialise accel scale if need be. This is needed as we can't
|
||||||
// give non-zero default values for vectors in AP_Param
|
// give non-zero default values for vectors in AP_Param
|
||||||
for (uint8_t i=0; i<get_accel_count(); i++) {
|
for (uint8_t i=0; i<get_accel_count(); i++) {
|
||||||
|
|
Loading…
Reference in New Issue