LibreSolar / bms-firmware

Firmware for LibreSolar BMS boards based on bq769x0, bq769x2 or ISL94202
https://libre.solar/bms-firmware/
Apache License 2.0
154 stars 70 forks source link

drivers: bms_ic: change return value for bms_ic_configure #51

Closed martinjaeger closed 9 months ago

martinjaeger commented 9 months ago

Not all BMS ICs support all CONF_ values, which made the call to bms_ic_configure fail in the generic BMS main application.

With this API change it is left to the application to judge if the configuration call is considered successful or not.