From 61ff4824a904d156e719ab2967b613cf095e908e Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 28 Jul 2009 10:46:20 +0000 Subject: Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class. --- Projects/Benito/Benito.c | 2 +- Projects/Benito/Benito.txt | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'Projects') diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index 9e85fbd2f..26c566496 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -79,7 +79,7 @@ int main(void) for (;;) { /* Echo bytes from the host to the target via the hardware USART */ - if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface)) + if (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface) > 0) { Serial_TxByte(CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface)); diff --git a/Projects/Benito/Benito.txt b/Projects/Benito/Benito.txt index 857a28f8d..63f3ea815 100644 --- a/Projects/Benito/Benito.txt +++ b/Projects/Benito/Benito.txt @@ -31,19 +31,20 @@ * * * USB Class: - * Human Interface Device (HID) + * Communications Device Class (CDC) * * * USB Subclass: - * Keyboard + * Abstract Control Model (ACM) * * * Relevant Standards: - * USBIF HID Standard, USBIF HID Usage Tables + * USBIF CDC Class Standard + * Arduino Bootloader Specification * * * Usable Speeds: - * Low Speed Mode, Full Speed Mode + * Full Speed Mode * * * -- cgit v1.2.3