diff options
Diffstat (limited to 'board/cr50/u2f.c')
-rw-r--r-- | board/cr50/u2f.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/cr50/u2f.c b/board/cr50/u2f.c index a9989aa3fb..bf0bbb8791 100644 --- a/board/cr50/u2f.c +++ b/board/cr50/u2f.c @@ -43,7 +43,10 @@ enum touch_state pop_check_presence(int consume) int recent = ((last_press.val > 0) && ((get_time().val - last_press.val) < PRESENCE_TIMEOUT)); - CPRINTS("Presence:%d", recent); +#ifdef CR50_DEV + if (recent) + CPRINTS("User presence: consumed %d", consume); +#endif if (consume) last_press.val = 0; |