Skip to content

Commit fe96fa1

Browse files
authored
[Ameba] add platform app task (#35640)
* add platform app task for all-clusters-app
1 parent 1428332 commit fe96fa1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/all-clusters-app/ameba/main/chipinterface.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
#include "Globals.h"
2525
#include "LEDWidget.h"
2626
#include "chip_porting.h"
27+
#if CHIP_AMEBA_APP_TASK
28+
#include "ameba_main_task.h"
29+
#endif
2730
#include <DeviceInfoProviderImpl.h>
2831

2932
#include <app/clusters/identify-server/identify-server.h>
@@ -170,7 +173,9 @@ static void InitServer(intptr_t context)
170173
#if CONFIG_ENABLE_CHIP_SHELL
171174
InitBindingHandler();
172175
#endif
173-
176+
#if CHIP_AMEBA_APP_TASK
177+
AppTaskInit();
178+
#endif
174179
chip::Server::GetInstance().GetFabricTable().AddFabricDelegate(&sAmebaObserver);
175180
}
176181

0 commit comments

Comments
 (0)