Skip to content

Current and charge rate limit cannot be read #182

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

Merged
merged 2 commits into from
Jun 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions framework_lib/src/commandline/clap_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ struct ClapCli {
#[arg(long)]
charge_limit: Option<Option<u8>>,

/// Get or set max charge current limit
/// Set max charge current limit
#[arg(long)]
#[clap(num_args = ..=2)]
#[clap(num_args = 1..=2)]
charge_current_limit: Vec<u32>,

/// Get or set max charge current limit
/// Set max charge current limit
#[arg(long)]
#[clap(num_args = ..=2)]
#[clap(num_args = 1..=2)]
charge_rate_limit: Vec<f32>,

/// Get GPIO value by name or all, if no name provided
Expand Down
1 change: 1 addition & 0 deletions framework_lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! A library to interact with [Framework Computer](https://frame.work) hardware and building tools to do so.

#![cfg_attr(feature = "uefi", no_std)]
#![allow(clippy::uninlined_format_args)]

extern crate alloc;
#[cfg(feature = "uefi")]
Expand Down
Loading