works now?
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user