Closed tail-feather closed 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...
I feel like that's right for me too...
f70f7474b2912791ca3e482858bafc5ade5d820a
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...