mirror of
https://github.com/openharmony/third_party_mtdev.git
synced 2026-07-19 19:13:33 -04:00
Signed-off-by:wanghao505<wanghao505@huawei.com>
Signed-off-by: wanghao505 <wanghao505@huawei.com>
This commit is contained in:
+3
-3
@@ -119,7 +119,7 @@ struct mtdev {
|
||||
struct mtdev_state *state;
|
||||
};
|
||||
|
||||
#define MT_ABS_SIZE 12
|
||||
#define MT_ABS_SIZE 14
|
||||
|
||||
static const unsigned int mtdev_map_abs2mt[ABS_CNT] = {
|
||||
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
@@ -129,12 +129,12 @@ static const unsigned int mtdev_map_abs2mt[ABS_CNT] = {
|
||||
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008,
|
||||
0x0009, 0x000a, 0x000b, 0x000c, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x0000, 0x0000,
|
||||
};
|
||||
|
||||
static const unsigned int mtdev_map_mt2abs[MT_ABS_SIZE] = {
|
||||
0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
|
||||
0x0038, 0x0039, 0x003a, 0x003b,
|
||||
0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d,
|
||||
};
|
||||
|
||||
static inline int mtdev_is_absmt(unsigned int code)
|
||||
|
||||
Reference in New Issue
Block a user