48
48
#include < platform/silabs/platformAbstraction/SilabsPlatform.h>
49
49
#include < setup_payload/QRCodeSetupPayloadGenerator.h>
50
50
#include < setup_payload/SetupPayload.h>
51
+ #include < lib/support/logging/CHIPLogging.h>
51
52
52
53
/* *********************************************************
53
54
* Defines and Constants
@@ -83,13 +84,13 @@ CHIP_ERROR AppTask::Init()
83
84
err = BaseApplication::Init ();
84
85
if (err != CHIP_NO_ERROR)
85
86
{
86
- SILABS_LOG ( " BaseApplication::Init() failed" );
87
+ ChipLogProgress (Zcl, " BaseApplication::Init() failed" );
87
88
appError (err);
88
89
}
89
90
err = RefrigeratorMgr ().Init ();
90
91
if (err != CHIP_NO_ERROR)
91
92
{
92
- SILABS_LOG ( " RefrigeratorMgr::Init() failed" );
93
+ ChipLogProgress (Zcl, " RefrigeratorMgr::Init() failed" );
93
94
appError (err);
94
95
}
95
96
@@ -109,15 +110,15 @@ void AppTask::AppTaskMain(void * pvParameter)
109
110
CHIP_ERROR err = sAppTask .Init ();
110
111
if (err != CHIP_NO_ERROR)
111
112
{
112
- SILABS_LOG ( " AppTask.Init() failed" );
113
+ ChipLogProgress (Zcl, " AppTask.Init() failed" );
113
114
appError (err);
114
115
}
115
116
116
117
#if !(defined(CHIP_CONFIG_ENABLE_ICD_SERVER) && CHIP_CONFIG_ENABLE_ICD_SERVER)
117
118
sAppTask .StartStatusLEDTimer ();
118
119
#endif
119
120
120
- SILABS_LOG ( " App Task started" );
121
+ ChipLogProgress (Zcl, " App Task started" );
121
122
while (true )
122
123
{
123
124
osStatus_t eventReceived = osMessageQueueGet (sAppEventQueue , &event, NULL , osWaitForever);
0 commit comments