Skip to content

Commit

Permalink
Add missing define check for LCD calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Apr 25, 2024
1 parent 67ac842 commit 1220e6e
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 1220e6e

Please sign in to comment.