Browse Source

Updated Raw HID docs to clarify packet/report length (#11211)

Co-authored-by: Ryan <fauxpark@gmail.com>
pull/11284/head
Kishor Prins 3 years ago
committed by GitHub
parent
commit
dee506c096
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/feature_rawhid.md

+ 1
- 1
docs/feature_rawhid.md View File

@ -29,7 +29,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
} }
``` ```
`raw_hid_receive` can receive variable size packets from host with maximum length `RAW_EPSIZE`. `raw_hid_send` on the other hand can send packets to host of exactly `RAW_EPSIZE` length, therefore it should be used with data of length `RAW_EPSIZE`.
These two functions send and receive packets of length `RAW_EPSIZE` bytes to and from the host (32 on LUFA/ChibiOS/V-USB, 64 on ATSAM).
Make sure to flash raw enabled firmware before proceeding with working on the host side. Make sure to flash raw enabled firmware before proceeding with working on the host side.


Loading…
Cancel
Save