Skip to content

Commit

Permalink
samples: drivers: display: Support for all solomon_ssd16xxfb based di…
Browse files Browse the repository at this point in the history
…splays

Currently the following shields will thus be supported

	waveshare_epaper_gdeh0154a07
	waveshare_epaper_gdeh0213b1
	waveshare_epaper_gdeh0213b72
	waveshare_epaper_gdeh029a1

Signed-off-by: Kim Bøndergaard <[email protected]>
Signed-off-by: Kim Bøndergaard <[email protected]>
  • Loading branch information
KimBoendergaard authored and carlescufi committed Jan 18, 2021
1 parent b4afd1a commit fd63c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/drivers/display/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ LOG_MODULE_REGISTER(sample, LOG_LEVEL_INF);
#define DISPLAY_DEV_NAME DT_LABEL(DT_INST(0, solomon_ssd1306fb))
#endif

#if DT_NODE_HAS_STATUS(DT_INST(0, gooddisplay_gdeh0213b1), okay)
#define DISPLAY_DEV_NAME DT_LABEL(DT_INST(0, gooddisplay_gdeh0213b1))
#if DT_NODE_HAS_STATUS(DT_INST(0, solomon_ssd16xxfb), okay)
#define DISPLAY_DEV_NAME DT_LABEL(DT_INST(0, solomon_ssd16xxfb))
#endif

#if DT_NODE_HAS_STATUS(DT_INST(0, sitronix_st7789v), okay)
Expand Down

0 comments on commit fd63c5f

Please sign in to comment.