Skip to content
Commit 96eb476d authored by Tomáš Juřena's avatar Tomáš Juřena Committed by Benjamin Cabé
Browse files

drivers: sensor: ti: ina230: Fix shared data between instances



This commit fixes a shared context between multiple instances of the
INA230 and INA236 driver. The issue is the naming of the instance data in
`INA230_DRIVER_INIT` macro when we have one instance of INA230 and one
of INA236 the name of the data variable will be `drv_data_0`. This
variable will then be passed to both instances.

Signed-off-by: default avatarTomáš Juřena <jurenatomas@gmail.com>
parent 63d5ba4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment