File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ extern "C" void otSysProcessDrivers(otInstance * aInstance);
66
66
extern " C" void otAppCliInit (otInstance * aInstance);
67
67
#endif
68
68
69
- #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION && CONFIG_IEEE802154_TLX_OPTIMIZATION
69
+ #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION
70
70
bool isThreadCommissioned = false ;
71
71
#endif /* CONFIG_IEEE802154_TLX_OPTIMIZATION */
72
72
@@ -383,7 +383,7 @@ bool GenericThreadStackManagerImpl_OpenThread<ImplClass>::_IsThreadAttached()
383
383
curRole = otThreadGetDeviceRole (mOTInst );
384
384
Impl ()->UnlockThreadStack ();
385
385
386
- #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION && CONFIG_IEEE802154_TLX_OPTIMIZATION
386
+ #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION
387
387
if ((curRole != OT_DEVICE_ROLE_DISABLED && curRole != OT_DEVICE_ROLE_DETACHED))
388
388
{
389
389
if (isThreadCommissioned == false )
You can’t perform that action at this time.
0 commit comments