Browse Source

AP_InertialSensor: remove voiding of parameter

Clearly this is used - we pass it down
apm_2208
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
80e70b2fb4
  1. 1
      libraries/AP_InertialSensor/AP_InertialSensor_Invensensev2.cpp

1
libraries/AP_InertialSensor/AP_InertialSensor_Invensensev2.cpp

@ -564,7 +564,6 @@ uint8_t AP_InertialSensor_Invensensev2::_register_read(uint16_t reg) @@ -564,7 +564,6 @@ uint8_t AP_InertialSensor_Invensensev2::_register_read(uint16_t reg)
void AP_InertialSensor_Invensensev2::_register_write(uint16_t reg, uint8_t val, bool checked)
{
(void)checked;
_dev->write_bank_register(GET_BANK(reg), GET_REG(reg), val, checked);
}

Loading…
Cancel
Save