diff options
Diffstat (limited to 'src/gdisp/sys_defs.h')
-rw-r--r-- | src/gdisp/sys_defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdisp/sys_defs.h b/src/gdisp/sys_defs.h index 0d51d639..35844e2d 100644 --- a/src/gdisp/sys_defs.h +++ b/src/gdisp/sys_defs.h @@ -219,7 +219,7 @@ color_t gdispContrastColor(color_t color); * * @api */ -#define gdispGetDisplay(display) ((GDisplay *)gdriverGetInstance(GDRIVER_TYPE_DISPLAY, display)) +GDisplay *gdispGetDisplay(unsigned display); /** * @brief Set the current default display to the specified display @@ -241,7 +241,7 @@ void gdispSetDisplay(GDisplay *g); * * @note Displays are numbered from 0 to @p gdispGetDisplayCount() - 1 */ -#define gdispGetDisplayCount() gdriverInstanceCount(GDRIVER_TYPE_DISPLAY) +unsigned gdispGetDisplayCount(void); /* Property Functions */ |