-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added DPS3003 default parameters and fixed overflow in pwrctl_calc_il…
…imit_adc. (#226) The calibration of DPS3003 often resulted in malfunctioning of CC and CL function due to a bug in pwrctl.c:pwrctl_calc_ilimit_adc: The float value in pwrctl_calc_ilimit_adc might result in overflow during the casting to the return value of type uint16_t. The return type is changed to uint32_t.
- Loading branch information
1 parent
d651514
commit c506d22
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters