aboutsummaryrefslogtreecommitdiffstats
path: root/include/gfx.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-02 19:24:43 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-02 19:24:43 +0100
commita11f7da53638ee4fe282c7b5725294ca1780f9bf (patch)
tree9259f98c7a7cceef766d332311f77eb9278a2eeb /include/gfx.h
parentfababafc9a4fce83c4a6879624a8caa38ea9f438 (diff)
downloaduGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.tar.gz
uGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.tar.bz2
uGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.zip
added deinit() routines for all modules (not implemented so far)
Diffstat (limited to 'include/gfx.h')
-rw-r--r--include/gfx.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/gfx.h b/include/gfx.h
index 3a10103f..d261a6ce 100644
--- a/include/gfx.h
+++ b/include/gfx.h
@@ -204,8 +204,15 @@ extern "C" {
*/
void gfxInit(void);
- /* Compatibility for old programs */
- void DEPRECATED("Use gfxInit() instead") gdispInit(void);
+ /**
+ * @brief The one call to end it all
+ *
+ * @note This will deinitialise each sub-system that has been turned on.
+ * @note Do not call this without a previous @p gfxInit();
+ *
+ * @api
+ */
+ void gfxDeinit(void);
#ifdef __cplusplus
}