Skip to content

Commit

Permalink
Add missing define check for LCD calls (#33180)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored Apr 26, 2024
1 parent b2234c2 commit b99f6c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/lit-icd-app/silabs/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,15 @@ void AppTask::ButtonEventHandler(uint8_t button, uint8_t btnAction)
// DO NOT COPY for product logic. LIT ICD app is a test app with very simple application logic to enable testing.
void AppTask::OnEnterActiveMode()
{
#ifdef DISPLAY_ENABLED
sAppTask.GetLCD().WriteDemoUI(true);
#endif
}

// DO NOT COPY for product logic. LIT ICD app is a test app with very simple application logic to enable testing.
void AppTask::OnEnterIdleMode()
{
#ifdef DISPLAY_ENABLED
sAppTask.GetLCD().WriteDemoUI(false);
#endif
}

0 comments on commit b99f6c6

Please sign in to comment.