diff options
| author | Tectu <joel@unormal.org> | 2012-06-11 14:34:17 +0200 |
|---|---|---|
| committer | Tectu <joel@unormal.org> | 2012-06-11 14:34:17 +0200 |
| commit | ceda51b22b3074ab4783e4d8b071b1f0746f5e35 (patch) | |
| tree | b04f28314f44e5d2be82970ff04114ea3f432b80 | |
| parent | df8cfae7a0039ec269c6308d19e44774cde1c2fa (diff) | |
| download | uGFX-ceda51b22b3074ab4783e4d8b071b1f0746f5e35.tar.gz uGFX-ceda51b22b3074ab4783e4d8b071b1f0746f5e35.tar.bz2 uGFX-ceda51b22b3074ab4783e4d8b071b1f0746f5e35.zip | |
fixed compiler warning
| -rw-r--r-- | touchpad.c | 2 | ||||
| -rw-r--r-- | touchpad.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #include "touchpad.h" #include "glcd.h" -static struct cal cal = { +volatile static struct cal cal = { 1, 1, 0, 0 }; @@ -9,7 +9,7 @@ #define SET_CS(a) (TP_PORT->BSRR = 1 << (TP_CS + (a ? 0 : 16))) -volatile struct cal { +struct cal { float xm; float ym; float xn; |
