Merge "dumpstate: add #19(TYPE_OFFSET_DATA_SEC) touch raw data" into rvc-qpr-dev
This commit is contained in:
commit
cae4a6d8ee
|
@ -454,6 +454,13 @@ static void DumpTouch(int fd) {
|
||||||
touch_spi_path, touch_spi_path);
|
touch_spi_path, touch_spi_path);
|
||||||
RunCommandToFd(fd, "Self Raw Cap", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "Self Raw Cap", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
||||||
|
//TYPE_OFFSET_DATA_SEC
|
||||||
|
snprintf(cmd, sizeof(cmd),
|
||||||
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
|
"run_rawdata_read_type,19",
|
||||||
|
touch_spi_path, touch_spi_path);
|
||||||
|
RunCommandToFd(fd, "TYPE_OFFSET_DATA_SEC", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
||||||
//TYPE_AMBIENT_DATA
|
//TYPE_AMBIENT_DATA
|
||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
|
|
Loading…
Reference in New Issue