Only show libgpiod cable in list if enabled
This commit is contained in:
parent
4ed3ff835c
commit
f69ce8a465
|
|
@ -70,7 +70,9 @@ static std::map <std::string, cable_t> cable_list = {
|
||||||
{"usb-blaster", {MODE_USBBLASTER, {0x09Fb, 0x6001, 0, 0, 0, 0, 0, 0}}},
|
{"usb-blaster", {MODE_USBBLASTER, {0x09Fb, 0x6001, 0, 0, 0, 0, 0, 0}}},
|
||||||
{"usb-blasterII", {MODE_USBBLASTER, {0x09Fb, 0x6810, 0, 0, 0, 0, 0, 0}}},
|
{"usb-blasterII", {MODE_USBBLASTER, {0x09Fb, 0x6810, 0, 0, 0, 0, 0, 0}}},
|
||||||
{"xvc-client", {MODE_XVC_CLIENT, {}}},
|
{"xvc-client", {MODE_XVC_CLIENT, {}}},
|
||||||
|
#ifdef ENABLE_LIBGPIOD
|
||||||
{"libgpiod", {MODE_LIBGPIOD_BITBANG, {}}},
|
{"libgpiod", {MODE_LIBGPIOD_BITBANG, {}}},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue