Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ts_srv_set: fix touchscreen mode query

Change-Id: Icd8e8582a23ffb5bc5d26369fdc3c80cb80833c0
  • Loading branch information...
commit 45dd817c246db0398f7316be24fd7385629278c3 1 parent 466fa20
James Sullins jcsullins authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 touchscreen_drv/ts_srv_set.c
4 touchscreen_drv/ts_srv_set.c
View
@@ -62,9 +62,9 @@ int receive_ts_mode(int ts_fd) {
recv_ret = recv(ts_fd, recv_str, SOCKET_BUFFER_SIZE, 0);
if (recv_ret > 0) {
if ((int)recv_str[0] == 0)
- LOGI("Finger mode\n");
+ printf("Finger mode\n");
else if ((int)recv_str[0] == 1)
- LOGI("Stylus mode\n");
+ printf("Stylus mode\n");
else {
LOGI("Unknown mode '%i'\n", (int)recv_str[0]);
return -60;
Please sign in to comment.
Something went wrong with that request. Please try again.