indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
142 stars 63 forks source link

ccd_ptp: Add Fujifilm X-S10 #428

Closed tail-feather closed 2 years ago

polakovic commented 2 years ago

Maybe we can shorten all

... memcmp(buffer, "\x01\x00\x0e\xd2...", 8) == 0 || ...

tests to more general

... memcmp(buffer, "\x01\x00\x0e\xd2", 4) == 0 ...

What do you think? I have only X-T1 for testing, so I'm not sure, if it may work with other cameras as well...

tail-feather commented 2 years ago

I feel like that's right for me too...

polakovic commented 2 years ago

f70f7474b2912791ca3e482858bafc5ade5d820a