mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-05 14:26:28 -04:00
[EGD-3427] AudioServiceAPI::RoutingHeadset is now called from EventManager. Calling in WorkerEvent caused response message loses and timeouts on the Bus.
This commit is contained in:
committed by
Szymon Mroczek
parent
8c546ef92c
commit
67e234eb8e
@@ -29,7 +29,7 @@ namespace app
|
||||
sys::Message_t ApplicationNotes::DataReceivedHandler(sys::DataMessage *msgl, sys::ResponseMessage *resp)
|
||||
{
|
||||
|
||||
auto retMsg = Application::DataReceivedHandler(msgl);
|
||||
auto retMsg = Application::DataReceivedHandler(msgl);
|
||||
// if message was handled by application's template there is no need to process further.
|
||||
if ((reinterpret_cast<sys::ResponseMessage *>(retMsg.get())->retCode == sys::ReturnCodes::Success)) {
|
||||
return retMsg;
|
||||
|
||||
Reference in New Issue
Block a user