usbBlaster: fix #ifdef ENABLE_USB_BLASTERII location at CTOR level

This commit is contained in:
Gwenhael Goavec-Merou 2026-05-05 10:56:30 +02:00
parent 834c45b682
commit 5d69478d0b
1 changed files with 1 additions and 1 deletions

View File

@ -49,8 +49,8 @@ UsbBlaster::UsbBlaster(const cable_t &cable, const std::string &firmware_path,
#else
throw std::runtime_error("usb-blasterI: Not build");
#endif
#ifdef ENABLE_USB_BLASTERII
else if (cable.pid == 0x6810 || cable.pid == 0x6010)
#ifdef ENABLE_USB_BLASTERII
ll_driver = new UsbBlasterII(firmware_path);
#else
throw std::runtime_error("usb-blasterII: Not build");