TODO cleanup: Remove error check todo in DeviceManager

master
pixl 4 years ago
parent 825967b140
commit 937225b6f2
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E
  1. 3
      src/logid/DeviceManager.cpp

@ -58,8 +58,7 @@ void DeviceManager::addDevice(std::string path)
receiver->run();
_receivers.emplace(path, receiver);
} else {
/* TODO: Error check?
* TODO: Can non-receivers only contain 1 device?
/* TODO: Can non-receivers only contain 1 device?
* If the device exists, it is guaranteed to be an HID++ 2.0 device */
if(defaultExists) {
auto device = std::make_shared<Device>(path, hidpp::DefaultDevice);

Loading…
Cancel
Save