Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
Suggestion from: zmkfirmware#674 (comment)
  • Loading branch information
DanielMajoinen committed Jun 4, 2023
1 parent cde6eee commit 8927713
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/ext_power_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
#include <drivers/ext_power.h>
#include <zephyr/drivers/display.h>

#ifndef CONFIG_LVGL_DISPLAY_DEV_NAME
#define ZMK_DISPLAY_NAME ""
#else
#define ZMK_DISPLAY_NAME CONFIG_LVGL_DISPLAY_DEV_NAME
#endif


#if DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT)

Expand Down

0 comments on commit 8927713

Please sign in to comment.