Skip to content

Commit

Permalink
src/ftdispi: typo: replace _holdn by _wpn for spi_config.wpn_pi (fix …
Browse files Browse the repository at this point in the history
…issue #277).
  • Loading branch information
trabucayre committed Nov 27, 2022
1 parent 1753124 commit 94d0ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ftdispi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ FtdiSpi::FtdiSpi(const cable_t &cable,
if (spi_config.holdn_pin)
_holdn = spi_config.holdn_pin;
if (spi_config.wpn_pin)
_holdn = spi_config.wpn_pin;
_wpn = spi_config.wpn_pin;

/* clk is fixed by MPSSE engine
* but CS, holdn, wpn are free -> update bits direction
Expand Down

0 comments on commit 94d0ad6

Please sign in to comment.