Tidying low-level debug tool driver code:
- Use automatic objects for libusb/hidapi resources, where possible (to reduce manual resource management) - Removed unused/redundant code - Tidied HidInterface class - Tidied debug tool initialisation code - Other bits of tidying
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg
|
||||
class EdbgInterface: public CmsisDapInterface
|
||||
{
|
||||
public:
|
||||
explicit EdbgInterface() = default;
|
||||
explicit EdbgInterface(Usb::HidInterface&& usbHidInterface);
|
||||
|
||||
/**
|
||||
* Send an AvrCommandFrame to the debug tool and wait for a response.
|
||||
|
||||
Reference in New Issue
Block a user