src/ftdispi: typo: replace _holdn by _wpn for spi_config.wpn_pi (fix issue #277).

This commit is contained in:
Gwenhael Goavec-Merou 2022-11-27 15:29:25 +01:00
parent 175312423c
commit 94d0ad6c85
1 changed files with 1 additions and 1 deletions

View File

@ -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