diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-29 23:29:49 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2002-01-29 23:29:49 +0000 |
commit | a882e567fd24ae6e9526dfc788b8e48fb93ae3b5 (patch) | |
tree | 903addfb85de29f0d5c54f981c9655b5567289fc /camlibs/konica | |
parent | 651280e27ea49e0d59fc19a49d9af7d4ddadb035 (diff) | |
download | libgphoto2-a882e567fd24ae6e9526dfc788b8e48fb93ae3b5.tar.gz |
Additional debugging messages.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4047 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/konica')
-rw-r--r-- | camlibs/konica/konica.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/camlibs/konica/konica.c b/camlibs/konica/konica.c index 1c9ed21ae..27b99da9b 100644 --- a/camlibs/konica/konica.c +++ b/camlibs/konica/konica.c @@ -563,10 +563,13 @@ k_get_io_capability (GPPort *p, GPContext *c, CHECK_NULL (bit_rates && bit_flags); + GP_DEBUG ("Getting IO capabilities..."); CRF (c, l_send_receive (p, c, sb, 4, &rb, &rbs, 0, NULL, NULL), rb); + GP_DEBUG ("Got IO capabilities: bit rates 0x%x 0x%x, bit flags " + "0x%x 0x%x.", rb[5], rb[4], rb[7], rb[6]); *bit_rates = (rb[5] << 8) | rb[4]; - *bit_flags = (rb[6] << 8) | rb[5]; + *bit_flags = (rb[7] << 8) | rb[6]; free (rb); return (GP_OK); @@ -1314,5 +1317,6 @@ k_cancel (GPPort *p, GPContext *c, KCommand* command) CRF (c, l_send_receive (p, c, sb, 4, &rb, &rbs, 0, NULL, NULL), rb); *command = (rb[5] << 8) | rb[4]; free (rb); + GP_DEBUG ("Cancelled command 0x%x.", *command); return (GP_OK); } |