aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-11-09 19:18:59 +1000
committerinmarket <andrewh@inmarket.com.au>2013-11-09 19:18:59 +1000
commit1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7 (patch)
treefb498bc169bbf76750348f6a900df5adfb6bb7c9 /include/gdisp
parentdaa4e8bbd78ebe4a84234de266006d1a23697657 (diff)
downloaduGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.tar.gz
uGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.tar.bz2
uGFX-1f99d5c9fac79e3e9aa4ebff97b296b6dcb9c9a7.zip
Add support for a default application orientation.
Also remove old unneeded GDISP_USE_CUSTOM_BOARD macro
Diffstat (limited to 'include/gdisp')
-rw-r--r--include/gdisp/options.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/gdisp/options.h b/include/gdisp/options.h
index 7796144c..650e81c5 100644
--- a/include/gdisp/options.h
+++ b/include/gdisp/options.h
@@ -346,14 +346,10 @@
* @{
*/
/**
- * @brief Use a custom board definition even if a board definition exists.
- * @details Defaults to FALSE
- * @details If TRUE, add gdisp_lld_board.h to your project directory and customise it.
- * @note Not all GDISP low level drivers currently use board definition files.
+ * @brief Define the default orientation for all displays in the system.
+ * @note GDISP_NEED_CONTROL must also be set (and the hardware must support it)
*/
- #ifndef GDISP_USE_CUSTOM_BOARD
- #define GDISP_USE_CUSTOM_BOARD FALSE
- #endif
+ // #define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
/**
* @brief Set the screen height and width.
* @note Ignored by some low level GDISP drivers, optional for others.
@@ -368,8 +364,8 @@
* @details Only required by the SSD1963 driver.
* @note This will be replaced eventually by board definition files
*/
- /* #define GDISP_USE_FSMC */
- /* #define GDISP_USE_GPIO */
+ // #define GDISP_USE_FSMC
+ // #define GDISP_USE_GPIO
/** @} */
#endif /* _GDISP_OPTIONS_H */