fixed compiler warning

This commit is contained in:
Tectu 2012-06-11 14:34:17 +02:00
parent df8cfae7a0
commit ceda51b22b
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include "touchpad.h"
#include "glcd.h"
static struct cal cal = {
volatile static struct cal cal = {
1, 1, 0, 0
};

View File

@ -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;