zephyr/tests/drivers/fuel_gauge
Mikkel Jakobsen e4c21da41b drivers: fuel_gauge: make read-only pointer args const in api
For the lists of properties passed as a pointer to the get_props and
set_props functions, there is no reason to not make the pointer const as
the called functions will not and should not alter the pointed-to data.

In practice, not having the pointers const can cause compilation errors
if trying to pass in a const array of properties.

Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
2024-12-24 13:54:15 +01:00
..
bq27z746 tests fuel_gauge/bq27z746: Switch from native_posix to native_sim 2023-11-20 09:20:59 +01:00
max17048 tests fuel_gauge/max17048: Switch from native_posix to native_sim 2023-11-20 09:20:59 +01:00
sbs_gauge drivers: fuel_gauge: make read-only pointer args const in api 2024-12-24 13:54:15 +01:00