InertialSensor: remove product_id set to zero

This commit is contained in:
Randy Mackay 2015-02-21 09:14:33 +09:00
parent 7b0e806db1
commit b650d39786
1 changed files with 0 additions and 2 deletions

View File

@ -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++) {