AP_InertialSensor: remove voiding of parameter

Clearly this is used - we pass it down
This commit is contained in:
Peter Barker 2021-06-23 13:40:51 +10:00 committed by Andrew Tridgell
parent 003fef229c
commit 80e70b2fb4

View File

@ -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);
}