still not done with refactoring but enough for today

This commit is contained in:
Jonas Zeunert
2018-12-14 02:56:29 +01:00
parent 8e12b3f3fa
commit ff3376b9d7
12 changed files with 38 additions and 29 deletions

View File

@@ -27,11 +27,11 @@ void Sound::play()
void Sound::playTask()
{
pin_controller->activate(this);
pin_controller->activate(*this);
std::this_thread::sleep_for(deactivation_time);
pin_controller->deactivate(this);
pin_controller->deactivate(*this);
}
}