Closed 19Gerhard85 closed 1 year ago
I'm facing the same issue, any news? @Moonlight-Angel @Sapd
@19Gerhard85 I was able to fix the issue by reverting the changes in this commit: https://github.com/Sapd/HeadsetControl/commit/5a09dc3401afb344c4e7dc9b6bff83708426ef40.
@19Gerhard85 I was able to fix the issue by reverting the changes in this commit: 5a09dc3.
Best way is to look up why this happens. I would suggest you adding this around 170:
printf("voltage %u - result: %d\n", voltage, spline_battery_level(battery_estimate_percentages, battery_estimate_voltages, battery_estimate_size, voltage));
Edit: There is a bug in the spline function
Description
On which OS does the problem happen?
Linux