Skip to content

Commit a7be607

Browse files
committed
Clarify what numbering the gpio params use
1 parent bbdcfb4 commit a7be607

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
@@ -41,12 +41,12 @@ pub struct ConnectOpts {
4141
#[clap(long)]
4242
pub speed: Option<u32>,
4343

44-
/// DTR pin to use for the internal UART hardware.
44+
/// DTR pin to use for the internal UART hardware. Uses BCM numbering.
4545
#[cfg(feature = "raspberry")]
4646
#[cfg_attr(feature = "raspberry", clap(long))]
4747
pub dtr: Option<u8>,
4848

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

0 commit comments

Comments
 (0)