diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-06-19 19:56:25 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-06-19 19:56:25 +0200 |
commit | 5abc1dbb23c3651c4b7c0549d8df7f938a2311da (patch) | |
tree | d9e5bce233f70c5d2281d8e335fe1836016b396a | |
parent | 3e021b9da3bfb04f662956b84a862ad0ac812da6 (diff) | |
download | uGFX-5abc1dbb23c3651c4b7c0549d8df7f938a2311da.tar.gz uGFX-5abc1dbb23c3651c4b7c0549d8df7f938a2311da.tar.bz2 uGFX-5abc1dbb23c3651c4b7c0549d8df7f938a2311da.zip |
Improving demo (/demos/tools/touch_calibration_grabber)
-rw-r--r-- | demos/tools/touch_calibration_grabber/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/tools/touch_calibration_grabber/main.c b/demos/tools/touch_calibration_grabber/main.c index 44ef8329..3ce791ee 100644 --- a/demos/tools/touch_calibration_grabber/main.c +++ b/demos/tools/touch_calibration_grabber/main.c @@ -38,6 +38,10 @@ static coord_t bHeight; static GHandle ghc; static coord_t swidth, sheight; +#if !GWIN_CONSOLE_USE_FLOAT + #error "You need to enable float support for the console widget. (GWIN_CONSOLE_USE_FLOAT)" +#endif + int main(void) { GMouse* m; |