Skip to content

Commit

Permalink
bug: correct print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaredeliverybot committed Dec 4, 2024
1 parent 3013451 commit 26143ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bmi323/bmi323_i2c_read_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})")
Expand Down

0 comments on commit 26143ea

Please sign in to comment.