diff options
-rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 6 | ||||
-rw-r--r-- | LUFA/Build/lufa_build.mk | 4 | ||||
-rw-r--r-- | LUFA/Build/lufa_cppcheck.mk | 9 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/HIDClassDevice.h | 14 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HIDClassHost.h | 8 |
5 files changed, 21 insertions, 20 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index 74e406629..5f1047eee 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -236,9 +236,9 @@ void EVENT_USB_Device_ControlRequest(void) #if !defined(NO_BLOCK_SUPPORT) /** 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. + * on the AVR109 protocol command issued. * - * \param[in] Command Single character AVR910 protocol command indicating what memory operation to perform + * \param[in] Command Single character AVR109 protocol command indicating what memory operation to perform */ static void ReadWriteMemoryBlock(const uint8_t Command) { @@ -402,7 +402,7 @@ static void WriteNextResponseByte(const uint8_t Response) Endpoint_Write_8(Response); } -/** Task to read in AVR910 commands from the CDC data OUT endpoint, process them, perform the required actions +/** Task to read in AVR109 commands from the CDC data OUT endpoint, process them, perform the required actions * and send the appropriate response back to the host. */ static void CDC_Task(void) diff --git a/LUFA/Build/lufa_build.mk b/LUFA/Build/lufa_build.mk index 828401096..a1a130e1e 100644 --- a/LUFA/Build/lufa_build.mk +++ b/LUFA/Build/lufa_build.mk @@ -31,9 +31,9 @@ LUFA_BUILD_PROVIDED_MACROS += # bin - Build application BIN binary object file # hex - Build application HEX object file # lss - Build application LSS assembly listing file -# clean - Remove all project intermediatary and binary +# clean - Remove all project intermediary and binary # output files -# mostlyclean - Remove intermediatary output files, but +# mostlyclean - Remove intermediary output files, but # preserve binaries # <filename>.s - Compile C/C++ source file into an assembly file # for manual code inspection diff --git a/LUFA/Build/lufa_cppcheck.mk b/LUFA/Build/lufa_cppcheck.mk index 017b852db..faf66974e 100644 --- a/LUFA/Build/lufa_cppcheck.mk +++ b/LUFA/Build/lufa_cppcheck.mk @@ -11,15 +11,16 @@ LUFA_BUILD_TARGETS += cppcheck cppcheck-config LUFA_BUILD_MANDATORY_VARS += SRC LUFA_BUILD_OPTIONAL_VARS += CPPCHECK_INCLUDES CPPCHECK_EXCLUDES CPPCHECK_MSG_TEMPLATE CPPCHECK_ENABLE \ CPPCHECK_SUPPRESS CPPCHECK_FAIL_ON_WARNING CPPCHECK_QUIET CPPCHECK_FLAGS -LUFA_BUILD_PROVIDED_VARS += -LUFA_BUILD_PROVIDED_MACROS += +LUFA_BUILD_PROVIDED_VARS += +LUFA_BUILD_PROVIDED_MACROS += # ----------------------------------------------------------------------------- # LUFA CPPCheck Buildsystem Makefile Module. # ----------------------------------------------------------------------------- # DESCRIPTION: # Provides a set of targets to scan a project with the free "cppcheck" static -# analysis tool, to check for code errors at runtime (see http://cppcheck.sourceforge.net). +# analysis tool, to check for code errors at runtime +# (see http://cppcheck.sourceforge.net). # ----------------------------------------------------------------------------- # TARGETS: # @@ -68,7 +69,7 @@ CPPCHECK_ENABLE ?= all CPPCHECK_SUPPRESS ?= variableScope missingInclude CPPCHECK_FAIL_ON_WARNING ?= Y CPPCHECK_QUIET ?= Y -CPPCHECK_FLAGS ?= +CPPCHECK_FLAGS ?= # Sanity check user supplied values $(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) diff --git a/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h b/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h index 2915c9157..b5fe3a13b 100644 --- a/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h +++ b/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h @@ -91,13 +91,13 @@ * stored by the driver, for comparison purposes to detect report changes that * must be sent immediately to the host. This should point to a buffer big enough * to hold the largest HID input report sent from the HID interface. If this is set - * to \c NULL, it is up to the user to force transfers when needed in the - * \ref CALLBACK_HID_Device_CreateHIDReport() callback function. - * - * \note Due to the single buffer, the internal driver can only correctly compare - * subsequent reports with identical report IDs. In multiple report devices, - * this buffer should be set to \c NULL and the decision to send reports made - * by the user application instead. + * to \c NULL, it is up to the user to force transfers when needed in the + * \ref CALLBACK_HID_Device_CreateHIDReport() callback function. + * + * \note Due to the single buffer, the internal driver can only correctly compare + * subsequent reports with identical report IDs. In multiple report devices, + * this buffer should be set to \c NULL and the decision to send reports made + * by the user application instead. */ uint8_t PrevReportINBufferSize; /**< Size in bytes of the given input report buffer. This is used to create a * second buffer of the same size within the driver so that subsequent reports diff --git a/LUFA/Drivers/USB/Class/Host/HIDClassHost.h b/LUFA/Drivers/USB/Class/Host/HIDClassHost.h index 965ac368f..2e560e7c7 100644 --- a/LUFA/Drivers/USB/Class/Host/HIDClassHost.h +++ b/LUFA/Drivers/USB/Class/Host/HIDClassHost.h @@ -93,7 +93,7 @@ #if !defined(HID_HOST_BOOT_PROTOCOL_ONLY) HID_ReportInfo_t* HIDParserData; /**< HID parser data to store the parsed HID report data, when boot protocol * is not used. - * + * * \note When the \c HID_HOST_BOOT_PROTOCOL_ONLY compile time token is defined, * this field is unavailable. */ @@ -120,9 +120,9 @@ uint8_t LargestReportSize; /**< Largest report the device will send, in bytes. */ } State; /**< State data for the USB class interface within the device. All elements in this section - * <b>may</b> be set to initial values, but may also be ignored to default to sane values when - * the interface is enumerated. - */ + * <b>may</b> be set to initial values, but may also be ignored to default to sane values when + * the interface is enumerated. + */ } USB_ClassInfo_HID_Host_t; /* Enums: */ |