aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gdisp_lld.h2
-rw-r--r--include/gwin.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/gdisp_lld.h b/include/gdisp_lld.h
index 1a78e448..fecd710a 100644
--- a/include/gdisp_lld.h
+++ b/include/gdisp_lld.h
@@ -556,7 +556,7 @@ typedef enum orientation {GDISP_ROTATE_0, GDISP_ROTATE_90, GDISP_ROTATE_180, GDI
/**
* @brief Type for the available power modes for the screen.
*/
-typedef enum powermode {powerOff, powerSleep, powerOn} gdisp_powermode_t;
+typedef enum powermode {powerOff, powerSleep, powerDeepSleep, powerOn} gdisp_powermode_t;
/*===========================================================================*/
/* External declarations. */
diff --git a/include/gwin.h b/include/gwin.h
index 37fecab4..6b33a5ff 100644
--- a/include/gwin.h
+++ b/include/gwin.h
@@ -47,14 +47,14 @@
*/
/**
* @brief Should console functions be included.
- * @details Defaults to TRUE
+ * @details Defaults to FALSE
*/
#ifndef GWIN_NEED_CONSOLE
- #define GWIN_NEED_CONSOLE TRUE
+ #define GWIN_NEED_CONSOLE FALSE
#endif
/**
* @brief Should button functions be included.
- * @details Defaults to FALSE for now as implementation is not complete
+ * @details Defaults to FALSE
*/
#ifndef GWIN_NEED_BUTTON
#define GWIN_NEED_BUTTON FALSE
@@ -76,11 +76,11 @@
#endif
#if GWIN_NEED_CONSOLE && !GDISP_NEED_TEXT
- #error "GWIN: Text support (GDISP_NEED_TEXT) is required if GWIN_NEED_CONSOLE is defined."
+ #define GDISP_NEED_TEXT TRUE
#endif
#if GWIN_NEED_BUTTON && !GDISP_NEED_TEXT
- #error "GWIN: Text support (GDISP_NEED_TEXT) is required if GWIN_NEED_BUTTON is defined."
+ #define GDISP_NEED_TEXT TRUE
#endif
#if GWIN_NEED_BUTTON