aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'touchpad.h')
-rw-r--r--touchpad.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/touchpad.h b/touchpad.h
index 927c3a91..c9a686c6 100644
--- a/touchpad.h
+++ b/touchpad.h
@@ -9,10 +9,10 @@
#define SET_CS(a) (TP_PORT->BSRR = 1 << (TP_CS + (a ? 0 : 16)))
volatile struct cal {
- int16_t xm;
- int16_t ym;
- int16_t xn;
- int16_t yn;
+ float xm;
+ float ym;
+ float xn;
+ float yn;
};
void tpInit(void);