forked from xuos/xiuos
fix touch address error
This commit is contained in:
parent
e31199a104
commit
7c252bda56
|
@ -215,6 +215,12 @@ typedef struct
|
||||||
uint16_t press;
|
uint16_t press;
|
||||||
}TouchDataParam;
|
}TouchDataParam;
|
||||||
|
|
||||||
|
struct TouchDataStandard
|
||||||
|
{
|
||||||
|
uint16 x;
|
||||||
|
uint16 y;
|
||||||
|
};
|
||||||
|
|
||||||
struct RtcDrvConfigureParam
|
struct RtcDrvConfigureParam
|
||||||
{
|
{
|
||||||
int rtc_operation_cmd;
|
int rtc_operation_cmd;
|
||||||
|
|
|
@ -38,7 +38,7 @@ struct Touch_event {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DEFAULT_NUM 0x0D
|
#define DEFAULT_NUM 0x0D
|
||||||
#define TOUCH_ADDRESS 0x44
|
#define TOUCH_ADDRESS 0x40
|
||||||
volatile bool SemReleaseFlag = 0;
|
volatile bool SemReleaseFlag = 0;
|
||||||
|
|
||||||
static struct Bus* i2c_bus = NONE;
|
static struct Bus* i2c_bus = NONE;
|
||||||
|
|
Loading…
Reference in New Issue