From 26143eaaf637a775b909bf7d27ca0785bd612bfe Mon Sep 17 00:00:00 2001 From: Software Delivery Bot Date: Wed, 4 Dec 2024 20:43:59 +0100 Subject: [PATCH] bug: correct print statement --- examples/bmi323/bmi323_i2c_read_write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bmi323/bmi323_i2c_read_write.py b/examples/bmi323/bmi323_i2c_read_write.py index 7c7ed6b..8ef6b7c 100644 --- a/examples/bmi323/bmi323_i2c_read_write.py +++ b/examples/bmi323/bmi323_i2c_read_write.py @@ -30,7 +30,7 @@ def setup_logging(level: int = logging.DEBUG) -> logging.Logger: logger.info(f"chip_id=0x{shuttle.sensor.chip_id:04X}") logger.info(f"err_reg=0x{shuttle.sensor.err_reg:04X}") - logger.info(f"err_reg=0x{shuttle.sensor.status:04X}") + logger.info(f"status=0x{shuttle.sensor.status:04X}") a_x, a_y, a_z = shuttle.sensor.acc_data logger.info(f"acceleration=({a_x=:04X}, {a_y=:04X}, {a_z=:04X})")