Skip to content

Commit e6fb27f

Browse files
committed
Clarify what numbering the gpio params use
1 parent 81f31f1 commit e6fb27f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

espflash/src/cli/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ pub struct ConnectOpts {
4545
#[clap(long)]
4646
pub monitor_speed: Option<u32>,
4747

48-
/// DTR pin to use for the internal UART hardware.
48+
/// DTR pin to use for the internal UART hardware. Uses BCM numbering.
4949
#[cfg(feature = "raspberry")]
5050
#[cfg_attr(feature = "raspberry", clap(long))]
5151
pub dtr: Option<u8>,
5252

53-
/// RTS pin to use for the internal UART hardware.
53+
/// RTS pin to use for the internal UART hardware. Uses BCM numbering.
5454
#[cfg(feature = "raspberry")]
5555
#[cfg_attr(feature = "raspberry", clap(long))]
5656
pub rts: Option<u8>,

0 commit comments

Comments
 (0)