diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-08-23 17:55:42 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-08-23 17:55:42 +1000 |
commit | 0c7c74112e07f612ea5a2da00a5962728225d41f (patch) | |
tree | 093d8e253f77a87b303db89dacc3e339454347ce /src/gdisp/sys_rules.h | |
parent | 339150c55f934afccc989c75954a46f16612a777 (diff) | |
download | uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.gz uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.bz2 uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.zip |
GDRIVER now working for GDISP including multiple displays.
Still uses old GDISP driver model for now
Untested with uGFXnet.
Still to come: Input drivers etc
Diffstat (limited to 'src/gdisp/sys_rules.h')
-rw-r--r-- | src/gdisp/sys_rules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gdisp/sys_rules.h b/src/gdisp/sys_rules.h index 83c95216..eca55ce3 100644 --- a/src/gdisp/sys_rules.h +++ b/src/gdisp/sys_rules.h @@ -17,6 +17,13 @@ #define _GDISP_RULES_H #if GFX_USE_GDISP + #if !GFX_USE_GDRIVER + #if GFX_DISPLAY_RULE_WARNINGS + #warning "GDISP: GFX_USE_GDRIVER is required. GFX_USE_GDRIVER has turned on for you." + #endif + #undef GFX_USE_GDRIVER + #define GFX_USE_GDRIVER TRUE + #endif #if GDISP_TOTAL_CONTROLLERS > 1 #ifndef GDISP_CONTROLLER_LIST #error "GDISP Multiple Controllers: You must specify a value for GDISP_CONTROLLER_LIST" |