Improved naming consistency of aliases

This commit is contained in:
Nav
2022-10-01 21:01:37 +01:00
parent 2c6fd25ae4
commit 065a389dfe
56 changed files with 96 additions and 93 deletions

View File

@@ -68,9 +68,9 @@ namespace Bloom::Usb
std::string getHidDevicePath();
private:
using HidDeviceType = std::unique_ptr<::hid_device, decltype(&::hid_close)>;
using HidDevice = std::unique_ptr<::hid_device, decltype(&::hid_close)>;
HidDeviceType hidDevice = HidDeviceType(nullptr, ::hid_close);
HidDevice hidDevice = HidDevice(nullptr, ::hid_close);
/**
* All HID reports have a fixed report length. This means that every packet we send or receive to/from an HID