-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ptp: tune EOS_FocusInfoEx, FocusInfo event related code
With the re-enabled FocusInfoEx, the 5Ds spams the log and the --wait-event console output with a 64 entry long focus info list. Assuming no tooling is dependent on the particular string format of the FocusInfoEx value, since it seems to only ever contain a no-empty set of selected AF-points at the beginning of the capture process, where the event is 'swollowed' by the focus detection code. This changeset strips it down to only contain the list of selected AF-points, meaning without focus, we now get a simple "{}". Furthermore, the olcmask 0x0100 (FocusInfo) data of the 5Ds, R8 and R5m2 has been analyzed and the in-focus detection code during trigger_capture has been improved. See code comments for details.
- Loading branch information
Showing
2 changed files
with
65 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters