diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2003-10-30 05:43:24 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2003-10-30 05:43:24 +0000 |
commit | e9ee8375a780123317236ed9ee7326f757d37b79 (patch) | |
tree | 9a146247bb593e3e9767a3374512f1b9df4c1aac /camlibs/sq905 | |
parent | c4b1c9f8dcadbe414247289b532630c711a2e645 (diff) | |
download | libgphoto2-e9ee8375a780123317236ed9ee7326f757d37b79.tar.gz |
2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
* sq905.c: Give credit to individual people (here
Paulo Tribolet Abreu <paulotex@gmx.net> who reported a special
model) in the ChangeLog, not all over the code to keep the code
readable.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6904 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sq905')
-rw-r--r-- | camlibs/sq905/ChangeLog | 7 | ||||
-rw-r--r-- | camlibs/sq905/sq905.c | 11 |
2 files changed, 10 insertions, 8 deletions
diff --git a/camlibs/sq905/ChangeLog b/camlibs/sq905/ChangeLog index 6f23311d0..a027cf57c 100644 --- a/camlibs/sq905/ChangeLog +++ b/camlibs/sq905/ChangeLog @@ -1,3 +1,10 @@ +2003-10-30 Lutz Mueller <lutz@users.sourceforge.net> + + * sq905.c: Give credit to individual people (here + Paulo Tribolet Abreu <paulotex@gmx.net> who reported a special + model) in the ChangeLog, not all over the code to keep the code + readable. + 2003-10-29 Lutz Mueller <lutz@users.sourceforge.net> * library.c: Reduce memory requirements by first freeing one variable diff --git a/camlibs/sq905/sq905.c b/camlibs/sq905/sq905.c index 413ac15f4..18debb912 100644 --- a/camlibs/sq905/sq905.c +++ b/camlibs/sq905/sq905.c @@ -51,20 +51,15 @@ sq_init (GPPort *port, SQModel *m, SQData *data) SQWRITE (port, 0x0c, 0x06, 0xa0, c, 1); SQREAD (port, 0x0c, 0x07, 0x00, c, 1); - /* Perhaps the above sequence should be coded as a + /* + * Perhaps the above sequence should be coded as a * separate function because it gets used in capture. */ SQWRITE (port, 0x0c, 0x06, 0xf0, SQ_PING, 1); SQREAD (port, 0x0c, 0x07, 0x00, c, 1); sq_read_data (port, c, 4); - /* - * If all is well, we receive here "09 05 00 26" - * Translates to "905 &" - * - * Paulo Tribolet Abreu <paulotex@gmx.net> reports that - * his camera returns 09 05 01 19. - */ + /* Different cameras return different strings. */ sq_reset (port); SQWRITE (port, 0x0c, 0x06, 0x20, SQ_PING, 1); SQREAD (port, 0x0c, 0x07, 0x00, c, 1); |