diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2008-05-24 13:01:25 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2008-05-24 13:01:25 +0000 |
commit | 5712116f1b4c47d0a7c3cf5e2c06318e4a763211 (patch) | |
tree | e6d8558bfc04629030be42751f70b3581644b084 /include | |
parent | 1d86a141b29b47a9c1aab0b0e4b17415a29a1bdc (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/librfid/rfid_asic_rc632.h | 6 |
1 files changed, 3 insertions, 3 deletions
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) \ |