-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comm_sbs_bqctrl: Make main() usable as library call for external tools
Allow caller to pass args to main(). Cache parsed battery drivers to reduce overhead on multiple calls. Make action parameter required. Adjust tests for the main(argv) change. --------- Co-authored-by: _AT_ <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
30 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