Skip to content

Commit

Permalink
[Ameba] add platform app task (#35640)
Browse files Browse the repository at this point in the history
* add platform app task for all-clusters-app
  • Loading branch information
pankore authored Sep 19, 2024
1 parent 1428332 commit fe96fa1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/all-clusters-app/ameba/main/chipinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#include "Globals.h"
#include "LEDWidget.h"
#include "chip_porting.h"
#if CHIP_AMEBA_APP_TASK
#include "ameba_main_task.h"
#endif
#include <DeviceInfoProviderImpl.h>

#include <app/clusters/identify-server/identify-server.h>
Expand Down Expand Up @@ -170,7 +173,9 @@ static void InitServer(intptr_t context)
#if CONFIG_ENABLE_CHIP_SHELL
InitBindingHandler();
#endif

#if CHIP_AMEBA_APP_TASK
AppTaskInit();
#endif
chip::Server::GetInstance().GetFabricTable().AddFabricDelegate(&sAmebaObserver);
}

Expand Down

0 comments on commit fe96fa1

Please sign in to comment.