works now?

This commit is contained in:
Jonas Zeunert
2018-11-23 17:04:55 +01:00
parent 2a761f3267
commit eba6bb402a
12 changed files with 43 additions and 47 deletions

View File

@@ -28,11 +28,11 @@ void Sound::play()
void Sound::playTask()
{
Item::activate();
gpio_interface->activate(this);
std::this_thread::sleep_for(deactivation_time);
Item::deactivate();
gpio_interface->deactivate(this);
}
}