大家好!
我的触模屏是ads7846
内核已经提供了驱动ads7846.c
不过他里面的struct ts_event和tslib-1.3里的提供的那几个都不对应
我驱动里的struct ts_event是这样的
struct ts_event {
/* For portability, we can't read 12 bit values using SPI (which
* would make the controller deliver them as native byteorder u16
* with msbs zeroed). Instead, we read them as two 8-bit values,
* *** WHICH NEED BYTESWAPPING *** and range adjustment.
*/
u16 x;
u16 y;
u16 z1,z2;
int ignore;
};
这个问题应该怎么解决呢 要改驱动吗?
还是有别的解决办法?