TODO cleanup: Remove error check todo in DeviceManager

This commit is contained in:
pixl 2020-07-13 22:44:22 -04:00
parent 825967b140
commit 937225b6f2
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E

View File

@ -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);