struct cal -> struct cal_t

ugfx_release_2.6
Joel Bodenmann 2012-10-10 13:46:18 +02:00
parent 267b908689
commit b9de7e6ce3
2 changed files with 5 additions and 5 deletions

View File

@ -59,12 +59,12 @@
/**
* @brief Struct used for calibration
*/
struct cal {
typedef struct cal_t {
float xm;
float ym;
float xn;
float yn;
};
} cal_t;
/*===========================================================================*/
/* External declarations. */
@ -88,8 +88,8 @@ void tpCalibrate(void);
#endif
#if TOUCHPAD_STORE_CALIBRATION
extern void lld_tpWriteCalibration(struct cal cal);
extern struct cal lld_tpReadCalibration(void);
extern void lld_tpWriteCalibration(struct cal_t cal);
extern struct cal_t lld_tpReadCalibration(void);
#endif
#ifdef __cplusplus

View File

@ -43,7 +43,7 @@
/*===========================================================================*/
/* Driver local variables. */
/*===========================================================================*/
static volatile struct cal cal = {
static volatile struct cal_t cal = {
1, 1, 0, 0
};