From f1076ac4d6e56bff7fb6d2126746af1108211370 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 28 Jun 2009 13:39:08 +0000 Subject: Added const modifiers to device mode class drivers. Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput). --- Bootloaders/CDC/BootloaderCDC.c | 4 ++-- Bootloaders/CDC/Descriptors.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Bootloaders/CDC') diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index 92c2291c9..d875b842d 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -206,7 +206,7 @@ void EVENT_USB_UnhandledControlPacket(void) /** Reads or writes a block of EEPROM or FLASH memory to or from the appropriate CDC data endpoint, depending * on the AVR910 protocol command issued. * - * \param Command Single character AVR910 protocol command indicating what memory operation to perform + * \param[in] Command Single character AVR910 protocol command indicating what memory operation to perform */ static void ReadWriteMemoryBlock(const uint8_t Command) { @@ -343,7 +343,7 @@ static uint8_t FetchNextCommandByte(void) /** Writes the next response byte to the CDC data IN endpoint, and sends the endpoint back if needed to free up the * bank when full ready for the next byte in the packet to the host. * - * \param Response Next response byte to send to the host + * \param[in] Response Next response byte to send to the host */ static void WriteNextResponseByte(const uint8_t Response) { diff --git a/Bootloaders/CDC/Descriptors.h b/Bootloaders/CDC/Descriptors.h index 62d75986e..8bccd686f 100644 --- a/Bootloaders/CDC/Descriptors.h +++ b/Bootloaders/CDC/Descriptors.h @@ -84,7 +84,7 @@ * type define so that the same macro can be used for functional descriptors of varying data lengths, * while allowing the sizeof() operator to return correct results. * - * \param DataSize Size of the functional descriptor's data payload, in bytes + * \param[in] DataSize Size of the functional descriptor's data payload, in bytes */ #define CDC_FUNCTIONAL_DESCRIPTOR(DataSize) \ struct \ -- cgit v1.2.3