Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drivers: Fuel_Gauge: MAX17048: added units to fuel_gauge sample output and Output of voltage is now shown in microVolts #75563

Closed
wants to merge 4 commits into from

Conversation

Goyalrahul1516
Copy link
Contributor

@Goyalrahul1516 Goyalrahul1516 commented Jul 8, 2024

previously sample output was without any units
The voltage parameter was supposed to give output in microvolts
actual output was in millivolts
made changes to provide output in microvolts.

previous code stored voltage value in millivolts, made changes to max17048 to store the value in microvolts.
sample was missing units of outputs ( time to discharge, charge, voltage), added units.
@Goyalrahul1516 Goyalrahul1516 changed the title added units to fuel_gauge sample output and Output of voltage is now shown in microVolts Drivers: Fuel_Gauge: MAX17048: added units to fuel_gauge sample output and Output of voltage is now shown in microVolts Jul 8, 2024
Copy link
Collaborator

@kartben kartben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Goyalrahul1516 can you please also look into the compliance issues? Thanks much for the PR!

drivers/fuel_gauge/max17048/max17048.c Outdated Show resolved Hide resolved
@kartben kartben assigned aaronemassey and unassigned kartben Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants