diff options
author | Tectu <joel@unormal.org> | 2012-06-07 23:57:15 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-07 23:57:15 +0200 |
commit | cb3292bf36bd1f06d08a1a345cfbd9bae67e941e (patch) | |
tree | b7960aa1d7ac3933d9af737ebc5bfaf2802d71aa | |
parent | ef2d9a6a3019bb8677b8d6d8119daf8eebeabbb1 (diff) | |
download | uGFX-cb3292bf36bd1f06d08a1a345cfbd9bae67e941e.tar.gz uGFX-cb3292bf36bd1f06d08a1a345cfbd9bae67e941e.tar.bz2 uGFX-cb3292bf36bd1f06d08a1a345cfbd9bae67e941e.zip |
cleanups
-rw-r--r-- | touchpad.c | 4 | ||||
-rw-r--r-- | touchpad.h | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -52,7 +52,7 @@ uint8_t tpIRQ(void) { return (!palReadPad(TP_PORT, TP_IRQ)); } -uint16_t tpReadRealX(void) { +static uint16_t tpReadRealX(void) { uint32_t results = 0; uint16_t i, x; @@ -66,7 +66,7 @@ uint16_t tpReadRealX(void) { return x; } -uint16_t tpReadRealY(void) { +static uint16_t tpReadRealY(void) { uint32_t results = 0; uint16_t i, y; @@ -19,8 +19,6 @@ void tpInit(void); uint8_t tpIRQ(void); uint16_t tpReadX(void); uint16_t tpReadY(void); -uint16_t tpReadRealX(void); -uint16_t tpReadRealY(void); void tpCalibrate(void); void tpCalibrate2(void); void tpDrawCross(uint16_t x, uint16_t y); |