fixed compiler warning
This commit is contained in:
parent
df8cfae7a0
commit
ceda51b22b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user