From 5712116f1b4c47d0a7c3cf5e2c06318e4a763211 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 24 May 2008 13:01:25 +0000 Subject: Follow-up fixes for IRQ/ERR bitmaks mess (Bjoern Riemer) Patch 011 git-svn-id: https://svn.gnumonks.org/trunk/librfid@2101 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/librfid/rfid_asic_rc632.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/librfid/rfid_asic_rc632.h b/include/librfid/rfid_asic_rc632.h index d8adac7..3ca8469 100644 --- a/include/librfid/rfid_asic_rc632.h +++ b/include/librfid/rfid_asic_rc632.h @@ -60,7 +60,7 @@ struct rfid_asic_rc632 { const struct iso15693_anticol_cmd *acf, unsigned int acf_len, struct iso15693_anticol_resp *resp, - unsigned int *rx_len, char *bit_of_col); + unsigned int *rx_len, unsigned char *bit_of_col); } iso15693; struct { int (*setkey)(struct rfid_asic_handle *h, @@ -143,8 +143,8 @@ extern int rc632_register_dump(struct rfid_asic_handle *handle, u_int8_t *buf); DEBUGPC(", mTXsof"); \ DEBUGPC("\n"); } while (0); -#define DEBUGP_INTERRUPT_FLAG(foo) do {\ - DEBUGP("interrupt_flag: 0x%0.2x",foo); \ +#define DEBUGP_INTERRUPT_FLAG(txt,foo) do {\ + DEBUGP("%s: 0x%0.2x",txt,foo); \ if (foo & RC632_INT_HIALERT) \ DEBUGPC(", HiA"); \ if (foo & RC632_INT_LOALERT) \ -- cgit v1.2.3