Only show libgpiod cable in list if enabled

This commit is contained in:
Niklas Ekström 2022-07-22 09:58:59 +02:00
parent 4ed3ff835c
commit f69ce8a465
1 changed files with 2 additions and 0 deletions

View File

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