Skip to content

Commit

Permalink
feat: Use parse_u32
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 7, 2025
1 parent d1d9516 commit a52fa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ pub struct MonitorArgs {
#[non_exhaustive]
pub struct MonitorConfigArgs {
/// Baud rate at which to communicate with target device
#[arg(short = 'r', long, env = "MONITOR_BAUD", default_value = "115_200", value_parser = parse_uint32)]
#[arg(short = 'r', long, env = "MONITOR_BAUD", default_value = "115_200", value_parser = parse_u32)]
pub baud_rate: u32,
/// File name of the ELF image to load the symbols from
#[arg(short = 'e', long, value_name = "FILE")]
Expand Down

0 comments on commit a52fa28

Please sign in to comment.