cleanups
This commit is contained in:
parent
0f0f912661
commit
475e990f3c
1 changed files with 14 additions and 15 deletions
|
@ -2,7 +2,6 @@
|
|||
#include "glcd.h"
|
||||
|
||||
static struct cal cal;
|
||||
static int16_t x_cal = 0, y_cal = 0;
|
||||
|
||||
static void spicb(SPIDriver *spip);
|
||||
static const SPIConfig spicfg = {
|
||||
|
@ -110,8 +109,8 @@ void tpDrawCross(uint16_t x, uint16_t y) {
|
|||
}
|
||||
|
||||
void tpCalibrate(void) {
|
||||
int16_t cross[2][2] = {{40,40}, {200, 280}};
|
||||
int16_t points[2][2];
|
||||
uint16_t cross[2][2] = {{40,40}, {200, 280}};
|
||||
uint16_t points[2][2];
|
||||
uint8_t i;
|
||||
char buffer[32];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue