connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

EFR32 examples: fix calling member methods from static functions

Open dtodor opened this issue 2 years ago • 0 comments

The calls to void BaseApplication::StopStatusLEDTimer() and void BaseApplication::StartStatusLEDTimer() should be done on the app instance, e.g. AppTask::GetAppTask().StartStatusLEDTimer().

https://github.com/project-chip/connectedhomeip/blob/63ad9f780899b41db2544f44b34ced525c54384c/examples/platform/efr32/BaseApplication.cpp#L257

https://github.com/project-chip/connectedhomeip/blob/63ad9f780899b41db2544f44b34ced525c54384c/examples/platform/efr32/BaseApplication.cpp#L273

https://github.com/project-chip/connectedhomeip/blob/63ad9f780899b41db2544f44b34ced525c54384c/examples/platform/efr32/BaseApplication.cpp#L406

dtodor avatar Aug 05 '22 14:08 dtodor