File tree 2 files changed +4
-4
lines changed
examples/platform/bouffalolab/common/plat
2 files changed +4
-4
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
26
+ #ifndef CONFIG_APP_PAIRING_START_ON_LAST_FABRIC_REMOVAL
27
+ #define CONFIG_APP_PAIRING_START_ON_LAST_FABRIC_REMOVAL 0
28
28
#endif
29
29
30
30
typedef void (* app_pds_gpio_irq_handler_t )(void * arg );
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ void UnlockOpenThreadTask(void)
178
178
}
179
179
#endif
180
180
181
- #if !CONFIG_APP_FABRIC_TABLE_DELEGATE
181
+ #if CONFIG_APP_PAIRING_START_ON_LAST_FABRIC_REMOVAL
182
182
class AppFabricTableDelegate : public FabricTable ::Delegate
183
183
{
184
184
void OnFabricRemoved (const FabricTable & fabricTable, FabricIndex fabricIndex)
@@ -296,7 +296,7 @@ CHIP_ERROR PlatformManagerImpl::PlatformInit(void)
296
296
297
297
gExampleDeviceInfoProvider .SetStorageDelegate (&chip::Server::GetInstance ().GetPersistentStorage ());
298
298
299
- #if !CONFIG_APP_FABRIC_TABLE_DELEGATE
299
+ #if CONFIG_APP_PAIRING_START_ON_LAST_FABRIC_REMOVAL
300
300
static AppFabricTableDelegate sAppFabricDelegate ;
301
301
chip::Server::GetInstance ().GetFabricTable ().AddFabricDelegate (&sAppFabricDelegate );
302
302
#endif
You can’t perform that action at this time.
0 commit comments