board: fix control pins size

This commit is contained in:
Gwenhael Goavec-Merou 2020-10-31 10:43:45 +01:00
parent 14b7122b4d
commit 537f02fa89
1 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ enum {
typedef struct {
std::string manufacturer;
std::string cable_name; /*! provide name of one entry in cable_list */
uint8_t reset_pin; /*! reset pin value */
uint8_t done_pin; /*! done pin value */
uint8_t mode; /*! communication type (JTAG or SPI) */
uint16_t reset_pin; /*! reset pin value */
uint16_t done_pin; /*! done pin value */
uint16_t mode; /*! communication type (JTAG or SPI) */
jtag_pins_conf_t jtag_pins_config; /*! for bitbang, provide struct with pins value */
spi_pins_conf_t spi_pins_config; /*! for SPI, provide struct with pins value */
} target_cable_t;