connectedhomeip
connectedhomeip copied to clipboard
EFR32 examples: fix calling member methods from static functions
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