Skip to content

Commit c264c62

Browse files
committed
icm456 fix comments
1 parent 0254fa6 commit c264c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sensor/imu/ICM45686.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,11 @@ uint8_t icm45_setup_WOM(void) // TODO: check if working
406406
return NRF_GPIO_PIN_PULLUP << 4 | NRF_GPIO_PIN_SENSE_LOW; // active low
407407
}
408408

409-
int icm45_ext_passthrough(bool passthrough) // TODO: might need IOC_PAD_SCENARIO_AUX_OVRD instead
409+
int icm45_ext_passthrough(bool passthrough)
410410
{
411411
int err = 0;
412412
if (passthrough)
413-
err |= ssi_reg_write_byte(SENSOR_INTERFACE_DEV_IMU, ICM45686_IOC_PAD_SCENARIO_AUX_OVRD, 0x18); // AUX1_MODE_OVRD, AUX1 in I2CM Bypass, AUX1_ENABLE_OVRD, AUX1 enabled
413+
err |= ssi_reg_write_byte(SENSOR_INTERFACE_DEV_IMU, ICM45686_IOC_PAD_SCENARIO_AUX_OVRD, 0x18); // AUX1_MODE_OVRD, AUX1 in I2CM Bypass
414414
else
415415
err |= ssi_reg_write_byte(SENSOR_INTERFACE_DEV_IMU, ICM45686_IOC_PAD_SCENARIO_AUX_OVRD, 0x00); // disable overrides
416416
if (err)

0 commit comments

Comments
 (0)