diff --git a/nyansat/station/imu/imu_bno055.py b/nyansat/station/imu/imu_bno055.py index d30f00c..aca88e0 100644 --- a/nyansat/station/imu/imu_bno055.py +++ b/nyansat/station/imu/imu_bno055.py @@ -172,6 +172,6 @@ def upload_calibration_profile(self, filename: str) -> None: def _set_calibration_profile(self, registers) -> None: old_mode = self.bno.mode(CONFIG_MODE) - for register_name, register_address in self.CALIBRATION_REGISTERS: + for register_name, register_address in self.CALIBRATION_REGISTERS.items(): self.bno._write(register_address, registers[register_name]) self.bno.mode(old_mode)