File tree 2 files changed +6
-0
lines changed
examples/platform/bouffalolab/common/plat
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 23
23
24
24
#define EXT_DISCOVERY_TIMEOUT_SECS 20
25
25
26
+ #ifndef CONFIG_APP_FABRIC_TABLE_DELEGATE
27
+ #define CONFIG_APP_FABRIC_TABLE_DELEGATE 0
28
+ #endif
29
+
26
30
typedef void (* app_pds_gpio_irq_handler_t )(void * arg );
27
31
28
32
#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -294,8 +294,10 @@ CHIP_ERROR PlatformManagerImpl::PlatformInit(void)
294
294
295
295
gExampleDeviceInfoProvider .SetStorageDelegate (&chip::Server::GetInstance ().GetPersistentStorage ());
296
296
297
+ #if CONFIG_APP_FABRIC_TABLE_DELEGATE == 0
297
298
static AppFabricTableDelegate sAppFabricDelegate ;
298
299
chip::Server::GetInstance ().GetFabricTable ().AddFabricDelegate (&sAppFabricDelegate );
300
+ #endif
299
301
300
302
chip::DeviceLayer::PlatformMgr ().UnlockChipStack ();
301
303
You can’t perform that action at this time.
0 commit comments