From 3c2d62da9796597205cbf09a4cc9dab9855a6e68 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Tue, 22 Dec 2020 21:06:47 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=20dee506c096902316136f11dca2f560a62fd61e53=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_rawhid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature_rawhid.md b/feature_rawhid.md index 01e215be45..4a688fcba7 100644 --- a/feature_rawhid.md +++ b/feature_rawhid.md @@ -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.