diff options
| author | Kishor Prins <kprinssu@users.noreply.github.com> | 2020-12-22 16:04:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 08:04:55 +1100 |
| commit | dee506c096902316136f11dca2f560a62fd61e53 (patch) | |
| tree | 87db29ae5470fb700c0a8140a108aeb698481675 | |
| parent | 78b2f120e50e3db7c6f2b114907dbe50d82e6090 (diff) | |
| download | qmk_firmware-dee506c096902316136f11dca2f560a62fd61e53.tar.gz qmk_firmware-dee506c096902316136f11dca2f560a62fd61e53.zip | |
Updated Raw HID docs to clarify packet/report length (#11211)
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | docs/feature_rawhid.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_rawhid.md b/docs/feature_rawhid.md index 01e215be4..4a688fcba 100644 --- a/docs/feature_rawhid.md +++ b/docs/feature_rawhid.md | |||
| @@ -29,7 +29,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { | |||
| 29 | } | 29 | } |
| 30 | ``` | 30 | ``` |
| 31 | 31 | ||
| 32 | `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`. | 32 | 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). |
| 33 | 33 | ||
| 34 | Make sure to flash raw enabled firmware before proceeding with working on the host side. | 34 | Make sure to flash raw enabled firmware before proceeding with working on the host side. |
| 35 | 35 | ||
