Closed martinjaeger closed 7 months ago
Previously, both the bms_ic and the bms_context had to be shared between different files, even though the bms_ic dev logically belongs to the bms_context.
bms_ic
bms_context
This commit adds a const struct device *ic_dev to the bms_context, solving the issue.
const struct device *ic_dev
Thanks for the very quick review! This was my last clean-up for now.
Previously, both the
bms_ic
and thebms_context
had to be shared between different files, even though thebms_ic
dev logically belongs to thebms_context
.This commit adds a
const struct device *ic_dev
to thebms_context
, solving the issue.