Skip to content

Commit

Permalink
Add identifier for unsupported display/touch
Browse files Browse the repository at this point in the history
  • Loading branch information
ImpulseAdventure committed Apr 27, 2020
1 parent d43c433 commit fd509b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/GUIslice_drv_adagfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ extern "C" {
const char* m_acDrvDisp = "WAVESHARE_ILI9486";
Waveshare_ILI9486 m_disp;

// ------------------------------------------------------------------------
#else
const char* m_acDrvDisp = "Unsupported Display";

// ------------------------------------------------------------------------
#endif // DRV_DISP_ADAGFX_*

Expand Down Expand Up @@ -488,6 +492,9 @@ extern "C" {
#elif defined(DRV_TOUCH_NONE)
const char* m_acDrvTouch = "NONE";
// ------------------------------------------------------------------------
#else
const char* m_acDrvTouch = "Unsupported touch";
// ------------------------------------------------------------------------
#endif // DRV_TOUCH_*


Expand Down
2 changes: 1 addition & 1 deletion src/GUIslice_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// Define current release (X.Y.Z) & build number
// =======================================================================

#define GUISLICE_VER "0.14.0.4"
#define GUISLICE_VER "0.14.0.5"

#endif // _GUISLICE_VERSION_H_

0 comments on commit fd509b9

Please sign in to comment.