Add USB stub, add logging using spdlog

This commit is contained in:
2022-11-12 15:28:21 +01:00
parent 4809f60d2c
commit 815e67bdfb
8 changed files with 106 additions and 7 deletions

13
inc/UsbTypes.hpp Normal file
View 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