diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-05-13 15:15:13 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-05-13 15:15:13 +0000 |
commit | dfcb2cf64a95e99e5325bf3290697ac7823994bc (patch) | |
tree | efd8ac1bbba5bb0d3c5dbdbe56fb8d8cd652f5cd /examples/custom-class/firmware/requests.h | |
parent | 1cc341a56727a0d1bcc3a2eb3d4f2a312ee740a3 (diff) | |
download | v-usb-dfcb2cf64a95e99e5325bf3290697ac7823994bc.tar.gz v-usb-dfcb2cf64a95e99e5325bf3290697ac7823994bc.tar.bz2 v-usb-dfcb2cf64a95e99e5325bf3290697ac7823994bc.zip |
- added (optional) reliability test in custom-class example
Diffstat (limited to 'examples/custom-class/firmware/requests.h')
-rw-r--r-- | examples/custom-class/firmware/requests.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/custom-class/firmware/requests.h b/examples/custom-class/firmware/requests.h index b6a3c2b..2e7fac3 100644 --- a/examples/custom-class/firmware/requests.h +++ b/examples/custom-class/firmware/requests.h @@ -16,6 +16,10 @@ #ifndef __REQUESTS_H_INCLUDED__ #define __REQUESTS_H_INCLUDED__ +#define CUSTOM_RQ_ECHO 0 +/* Request that the device sends back wValue and wIndex. This is used with + * random data to test the reliability of the communication. + */ #define CUSTOM_RQ_SET_STATUS 1 /* Set the LED status. Control-OUT. * The requested status is passed in the "wValue" field of the control |