You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/12/04 07:05:22 UTC

[incubator-nuttx-apps] branch master updated: examples/touchscreen: added timestamp printing in tc

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new c26e5a0  examples/touchscreen: added timestamp printing in tc
c26e5a0 is described below

commit c26e5a0b4442fff9ab02cdaeaab15d954820aa98
Author: futerigele <fu...@xiaomi.com>
AuthorDate: Tue Nov 30 11:30:07 2021 +0800

    examples/touchscreen: added timestamp printing in tc
    
    added timestamp printing in tc
    
    Signed-off-by: futerigele <fu...@xiaomi.com>
---
 examples/touchscreen/tc_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/touchscreen/tc_main.c b/examples/touchscreen/tc_main.c
index 9150a10..6b792a6 100644
--- a/examples/touchscreen/tc_main.c
+++ b/examples/touchscreen/tc_main.c
@@ -204,6 +204,7 @@ int main(int argc, FAR char *argv[])
           printf("         h : %d\n",   sample.point[0].h);
           printf("         w : %d\n",   sample.point[0].w);
           printf("  pressure : %d\n",   sample.point[0].pressure);
+          printf(" timestamp : %" PRIu64"\n", sample.point[0].timestamp);
         }
 #endif