Skip to content

Commit

Permalink
[SL-TEMP] Don't assert app on display enable fail (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored Nov 12, 2024
1 parent 3ca4819 commit 6a41245
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/platform/silabs/display/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
static uint8_t qrCode[qrcodegen_BUFFER_LEN_FOR_VERSION(QR_CODE_VERSION)];
static uint8_t workBuffer[qrcodegen_BUFFER_LEN_FOR_VERSION(QR_CODE_VERSION)];
#endif // QR_CODE_ENABLED

CHIP_ERROR SilabsLCD::Init(uint8_t * name, bool initialState)
{
EMSTATUS status;
Expand All @@ -72,8 +71,8 @@ CHIP_ERROR SilabsLCD::Init(uint8_t * name, bool initialState)
status = sl_board_enable_display();
if (status != SL_STATUS_OK)
{
// sl-temp: S3 display isn't working yet, don't crash app for this.
SILABS_LOG("Board Display enable fail %d", status);
err = CHIP_ERROR_INTERNAL;
}
#endif

Expand Down

0 comments on commit 6a41245

Please sign in to comment.