Skip to content

Commit

Permalink
yoshino: Print more print identify details
Browse files Browse the repository at this point in the history
  • Loading branch information
EnJens committed Oct 27, 2018
1 parent 51a77f3 commit 53c0a3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions fpc_imp_yoshino_nile.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,11 @@ err_t fpc_auth_step(fpc_imp_data_t *data, uint32_t *print_id)
}

ALOGD("Print identified as %d\n", identify_cmd.id);
#if defined(USE_FPC_YOSHINO)
ALOGD("res: %d cov: %d, qual: %d, covered zones: %d, score: %d, idx: %u\n",
identify_cmd.res, identify_cmd.coverage, identify_cmd.qual, identify_cmd.covered_zones,
identify_cmd.score, identify_cmd.idx);
#endif

*print_id = identify_cmd.id;
return identify_cmd.status;
Expand Down
7 changes: 6 additions & 1 deletion tz_api_yoshino.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,12 @@ typedef struct {
uint32_t command;
int32_t status;
uint32_t id;
uint32_t unk1[2];
uint32_t coverage;
uint32_t qual;
uint32_t covered_zones;
uint32_t res;
uint32_t score;
uint32_t idx;
} fpc_send_identify_t;

typedef struct {
Expand Down

0 comments on commit 53c0a3b

Please sign in to comment.