Skip to content
Commit 12cbfcf3 authored by Aaron Massey's avatar Aaron Massey Committed by Carles Cufí
Browse files

fuel_gauge: Repl property struct w/ union



Based on review of the similar charger driver API, it's been demonstrated
from the community that embedding a per value property type when fetching
properties. Separating off the property types from the property values
themselves also allow an array of property types to declared as static
const.

Break up fuel_gauge_property struct into a fuel_gauge_prop_val union and a
fuel_gauge_prop_t property type as inputs into fuel gauge API functions.

Signed-off-by: default avatarAaron Massey <aaronmassey@google.com>
parent 329ecd1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment