cleanups
This commit is contained in:
parent
ef2d9a6a30
commit
cb3292bf36
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user