Correct V2 powermode macros
This commit is contained in:
parent
bda8c738b1
commit
788cbced62
1 changed files with 4 additions and 4 deletions
|
@ -1231,10 +1231,10 @@ void gdispGDrawBox(GDisplay *g, gCoord x, gCoord y, gCoord cx, gCoord cy, gColor
|
||||||
/* V2 compatibility */
|
/* V2 compatibility */
|
||||||
#if GFX_COMPAT_V2
|
#if GFX_COMPAT_V2
|
||||||
typedef gPowermode powermode_t;
|
typedef gPowermode powermode_t;
|
||||||
#define gPowerOff powerOff
|
#define powerOff gPowerOff
|
||||||
#define gPowerDeepSleep powerDeepSleep
|
#define powerDeepSleep gPowerDeepSleep
|
||||||
#define gPowerSleep powerSleep
|
#define powerSleep gPowerSleep
|
||||||
#define gPowerOn powerOn
|
#define powerOn gPowerOn
|
||||||
typedef gColor color_t;
|
typedef gColor color_t;
|
||||||
typedef gPixel pixel_t;
|
typedef gPixel pixel_t;
|
||||||
typedef gCoord coord_t;
|
typedef gCoord coord_t;
|
||||||
|
|
Loading…
Add table
Reference in a new issue