diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-03 18:50:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-03 18:50:53 +0000 |
commit | 6be41fe54a04032f4516c5eb8a84bf5407cc55ee (patch) | |
tree | a941a51bab76f305d4226c9380be58eeb60f07e8 /nuttx/include | |
parent | 50d3ff39d4557cda87194c7b11ac76429bd1bf2a (diff) | |
download | px4-nuttx-6be41fe54a04032f4516c5eb8a84bf5407cc55ee.tar.gz px4-nuttx-6be41fe54a04032f4516c5eb8a84bf5407cc55ee.tar.bz2 px4-nuttx-6be41fe54a04032f4516c5eb8a84bf5407cc55ee.zip |
Fix typos that cause compilations errors with CONFIG_RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4015 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/input/touchscreen.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/include/nuttx/input/touchscreen.h b/nuttx/include/nuttx/input/touchscreen.h index 861680e59..de888e38d 100644 --- a/nuttx/include/nuttx/input/touchscreen.h +++ b/nuttx/include/nuttx/input/touchscreen.h @@ -68,7 +68,7 @@ * reported in the struct touch_point_s flags. */ -#define TOUCH_DOWN (1 << 0) /* A new touch contact is establed */ +#define TOUCH_DOWN (1 << 0) /* A new touch contact is established */ #define TOUCH_MOVE (1 << 1) /* Movement occurred with previously reported contact */ #define TOUCH_UP (1 << 2) /* The touch contact was lost */ #define TOUCH_ID_VALID (1 << 3) /* Touch ID is uncertain */ @@ -86,13 +86,13 @@ struct touch_point_s { - uint8_t id; /* Unique identifies contact; Same in all reports for the contact */ - uint8_t flags; /* See TOUCH_* definitions above */ - int16_t x; /* X coordinate of the touch point (uncalibrated) */ - int16_t y; /* Y coordinate of the touch point (uncalibrated) */ - int16_t h; /* Height of touch point (uncalibrated) */ - int16_t w; /* Width of touch point (uncalibrated) */ - uint16_t pressure; /* Touch pressure */ + uint8_t id; /* Unique identifies contact; Same in all reports for the contact */ + uint8_t flags; /* See TOUCH_* definitions above */ + int16_t x; /* X coordinate of the touch point (uncalibrated) */ + int16_t y; /* Y coordinate of the touch point (uncalibrated) */ + int16_t h; /* Height of touch point (uncalibrated) */ + int16_t w; /* Width of touch point (uncalibrated) */ + uint16_t pressure; /* Touch pressure */ }; /* The typical touchscreen driver is a read-only, input character device driver. |