Skip to content
Commit 9bc43ac3 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Maureen Helm
Browse files

sensor: bq274xx: simplify i2c write code



Control reg write seems to support two bytes mode (the technical
reference shows example of that), so use a single i2c_write_dt there.
Also drop a couple alias variables from bq274xx_cmd_reg_write.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 2dcaed32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment