Add USB stub, add logging using spdlog
This commit is contained in:
13
inc/UsbTypes.hpp
Normal file
13
inc/UsbTypes.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ptprnt::driver {
|
||||
|
||||
struct UsbDevice {
|
||||
libusb_device* dev{nullptr};
|
||||
libusb_device_handle* hndl{nullptr};
|
||||
};
|
||||
|
||||
} // namespace ptprnt::driver
|
Reference in New Issue
Block a user