From 241ea809c7f48b895e4779e2b39b6096dc7d32e5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 9 Nov 2018 07:55:03 -0600 Subject: [PATCH] Updates based on coding style review of PR 756 --- drivers/input/max11802.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/max11802.h b/drivers/input/max11802.h index bec48dff90..5c389f7f7f 100644 --- a/drivers/input/max11802.h +++ b/drivers/input/max11802.h @@ -60,11 +60,11 @@ /******************************************************************************************** * Pre-processor Definitions ********************************************************************************************/ -/* Configuration ****************************************************************************/ /* MAX11802 Interfaces *********************************************************************/ /* LSB of register addresses specifies read (1) or write (0). */ + #define MAX11802_CMD_XPOSITION ((0x52 << 1) | 1) #define MAX11802_CMD_YPOSITION ((0x54 << 1) | 1) #define MAX11802_CMD_MEASUREXY (0x70 << 1) @@ -77,6 +77,7 @@ #define MAX11802_CMD_PULL_WR (0x07 << 1) /* Register values to set */ + #define MAX11802_MODE 0x06 #define MAX11802_AVG 0x55 #define MAX11802_SAMPLE 0xAA @@ -169,3 +170,4 @@ extern "C" { #endif #endif /* __DRIVERS_INPUT_ADS7843E_H */ +