diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-02-27 17:44:21 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-02-27 17:44:21 +1000 |
commit | f265924396167729e8d9fb36a0383263f36c1270 (patch) | |
tree | 28843eb24b18999cf0217ecb0fe935f133901066 /drivers/ginput/dial/GADC | |
parent | 14786e97b618b8bc2a0ff1c732d45288fe550e33 (diff) | |
download | uGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.gz uGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.bz2 uGFX-f265924396167729e8d9fb36a0383263f36c1270.zip |
First set of V3 macro changes
Diffstat (limited to 'drivers/ginput/dial/GADC')
-rw-r--r-- | drivers/ginput/dial/GADC/ginput_lld_dial_board_template.h | 2 | ||||
-rw-r--r-- | drivers/ginput/dial/GADC/readme.txt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ginput/dial/GADC/ginput_lld_dial_board_template.h b/drivers/ginput/dial/GADC/ginput_lld_dial_board_template.h index e10e52f6..28f3e258 100644 --- a/drivers/ginput/dial/GADC/ginput_lld_dial_board_template.h +++ b/drivers/ginput/dial/GADC/ginput_lld_dial_board_template.h @@ -18,7 +18,7 @@ #define GINPUT_DIAL_NUM_PORTS 1 #define GINPUT_DIAL_DEVICE0 GADC_PHYSDEV_DIAL #define GINPUT_DIAL_POLL_PERIOD 200 -#define GINPUT_DIAL_CYCLE_POLL FALSE +#define GINPUT_DIAL_CYCLE_POLL GFXOFF #endif /* GFX_USE_GINPUT && GINPUT_NEED_DIAL */ diff --git a/drivers/ginput/dial/GADC/readme.txt b/drivers/ginput/dial/GADC/readme.txt index 25558dbc..5bfce2ec 100644 --- a/drivers/ginput/dial/GADC/readme.txt +++ b/drivers/ginput/dial/GADC/readme.txt @@ -1,9 +1,9 @@ To use this driver: 1. Add in your gfxconf.h: - a) #define GFX_USE_GINPUT TRUE - #define GINPUT_NEED_DIAL TRUE - #define GINPUT_NEED_GADC TRUE + a) #define GFX_USE_GINPUT GFXON + #define GINPUT_NEED_DIAL GFXON + #define GINPUT_NEED_GADC GFXON d) If you are not using a known board then create a ginput_lld_toggle_board.h file and ensure it is on your include path. Use the ginput_lld_dial_board_example.h file as a basis. |