mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
usbBlaster: fix #ifdef ENABLE_USB_BLASTERII location at CTOR level
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user