zephyr/drivers/fuel_gauge/sbs_gauge
Daniel Leung 302f06534e fuel_gauge: sbs_gauge: fix uninitialized variable warning
The return variable rc in sbs_gauge_do_battery_cutoff() needs to
be initialized, or else it would return random value if the for
loop is never entered.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-23 19:36:41 -04:00
..
CMakeLists.txt emul: Fuel gauge tests direct access to emul_sbs 2023-04-21 09:39:00 +02:00
emul_sbs_gauge.c fuel_gauge: Add battery cutoff support 2023-08-22 18:05:50 +02:00
Kconfig emul: Fuel gauge tests direct access to emul_sbs 2023-04-21 09:39:00 +02:00
Kconfig.emul_sbs_gauge emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
sbs_gauge.c fuel_gauge: sbs_gauge: fix uninitialized variable warning 2023-08-23 19:36:41 -04:00
sbs_gauge.h fuel_gauge: Add battery cutoff support 2023-08-22 18:05:50 +02:00