Skip to content

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

Description

@fzimmermann89

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions