From 5d69478d0b97bc1e3099ebccc0d75bf25452b054 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Tue, 5 May 2026 10:56:30 +0200 Subject: [PATCH] usbBlaster: fix #ifdef ENABLE_USB_BLASTERII location at CTOR level --- src/usbBlaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usbBlaster.cpp b/src/usbBlaster.cpp index 245ac53..2adaf06 100644 --- a/src/usbBlaster.cpp +++ b/src/usbBlaster.cpp @@ -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");