Fix hardware resource enable

This commit is contained in:
Simon Stürz 2017-11-29 14:38:14 +01:00 committed by Michael Zanetti
parent 3e959b3bce
commit 3b19f2317a

View File

@ -150,7 +150,7 @@ bool HardwareManager::enableHardwareReource(const HardwareResource::Type &hardwa
{
foreach (HardwareResource *resource, m_hardwareResources) {
if (resource->hardwareReourceType() == hardwareResourceType) {
return resource->enabled();
return resource->enable();
}
}
return false;