Skip to content

Scale zero command needs to be a feature report #36

Description

@skylarmt

The scale zero command should work on any USB-compliant scale, but this code doesn't send it correctly.

I've had success in another codebase sending feature report 0x02 with a single byte 0x03. It took me quite a while to figure this out.

This should fix the error "errno=No such file or directory r=-1 (LIBUSB_ERROR_IO) transferred 0 bytes" when running ./usbscale zero

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