From 8a258b5880f37ecabd81de9920b6a41e47699a50 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Sat, 27 Jun 2015 23:10:00 -0400 Subject: [PATCH] re-order 14b reader/info functions to avoid warnings --- client/cmdhf14b.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/client/cmdhf14b.c b/client/cmdhf14b.c index acbd0c2c..f1568b94 100644 --- a/client/cmdhf14b.c +++ b/client/cmdhf14b.c @@ -274,16 +274,6 @@ static void print_st_general_info(uint8_t *data){ return; } -// 14b get and print Full Info (as much as we know) -int HF14BStdInfo(uint8_t *data, uint8_t *datalen){ - if (!HF14BStdReader(data,datalen)) return 0; - - //add more info here - print_atqb_resp(data); - - return 1; -} - // 14b get and print UID only (general info) int HF14BStdReader(uint8_t *data, uint8_t *datalen){ //05 00 00 = find one tag in field @@ -319,12 +309,12 @@ int HF14BStdReader(uint8_t *data, uint8_t *datalen){ return 1; } -// SRx get and print full info (needs more info...) -int HF14B_ST_Info(uint8_t *data, uint8_t *datalen){ - if (!HF14B_ST_Reader(data, datalen)) return 0; - - //add locking bit information here. +// 14b get and print Full Info (as much as we know) +int HF14BStdInfo(uint8_t *data, uint8_t *datalen){ + if (!HF14BStdReader(data,datalen)) return 0; + //add more info here + print_atqb_resp(data); return 1; } @@ -370,6 +360,16 @@ int HF14B_ST_Reader(uint8_t *data, uint8_t *datalen){ return 1; } +// SRx get and print full info (needs more info...) +int HF14B_ST_Info(uint8_t *data, uint8_t *datalen){ + if (!HF14B_ST_Reader(data, datalen)) return 0; + + //add locking bit information here. + + + return 1; +} + // test for other 14b type tags (mimic another reader - don't have tags to identify) int HF14B_Other_Reader(uint8_t *data, uint8_t *datalen){ bool crc = true; -- 2.39.5