diff --git a/main/application.cc b/main/application.cc index 5a640c85..d69d43d0 100644 --- a/main/application.cc +++ b/main/application.cc @@ -309,13 +309,15 @@ void Application::HandleActivationDoneEvent() { display->ShowNotification(message.c_str()); display->SetChatMessage("system", ""); - // Play the success sound to indicate the device is ready - audio_service_.PlaySound(Lang::Sounds::OGG_SUCCESS); - // Release OTA object after activation is complete ota_.reset(); auto& board = Board::GetInstance(); board.SetPowerSaveLevel(PowerSaveLevel::LOW_POWER); + + Schedule([this]() { + // Play the success sound to indicate the device is ready + audio_service_.PlaySound(Lang::Sounds::OGG_SUCCESS); + }); } void Application::ActivationTask() {