Skip to content

Commit

Permalink
fix(file_explorer) Add guards to unused functions when LV_FILE_EXPLOR…
Browse files Browse the repository at this point in the history
…ER_QUICK_ACCESS is disabled
  • Loading branch information
C47D committed Oct 22, 2024
1 parent 306c771 commit dacbd7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/others/file_explorer/lv_example_file_explorer_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ static void file_explorer_event_handler(lv_event_t * e)
}
}

#if LV_FILE_EXPLORER_QUICK_ACCESS
static void btn_event_handler(lv_event_t * e)
{
lv_event_code_t code = lv_event_get_code(e);
Expand Down Expand Up @@ -50,6 +51,7 @@ static void dd_event_handler(lv_event_t * e)
}
}
}
#endif

void lv_example_file_explorer_2(void)
{
Expand Down

0 comments on commit dacbd7b

Please sign in to comment.