Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ptp.cpp: PTP::Operation doesn't work with first Parameter = 0 #1

Open
fzimmermann89 opened this issue Aug 13, 2013 · 0 comments
Open

Comments

@fzimmermann89
Copy link

In underlying PTP::Transaction there is an if checking for *params not being zero before calculating len. There is at least one PTP Command that needs the first parameter to be zero (0x90c2=Nikon ChangeCameraMode)

Why is there the check for *params? Removing it would solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant