diff options
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 2 | ||||
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index b8a25185d..2086a91d2 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -454,7 +454,7 @@ void EVENT_USB_UnhandledControlPacket(void) /** Routine to discard the specified number of bytes from the control endpoint stream. This is used to
* discard unused bytes in the stream from the host, including the memory program block suffix.
*
- * \param NumberOfBytes Number of bytes to discard from the host from the control endpoint
+ * \param[in] NumberOfBytes Number of bytes to discard from the host from the control endpoint
*/
static void DiscardFillerBytes(uint8_t NumberOfBytes)
{
diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index a47da3d5c..9366c2284 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -76,16 +76,16 @@ /** Convenience macro, used to determine if the issued command is the given one-byte long command.
*
- * \param dataarr Command byte array to check against
- * \param cb1 First command byte to check
+ * \param[in] dataarr Command byte array to check against
+ * \param[in] cb1 First command byte to check
*/
#define IS_ONEBYTE_COMMAND(dataarr, cb1) (dataarr[0] == cb1)
/** Convenience macro, used to determine if the issued command is the given two-byte long command.
*
- * \param dataarr Command byte array to check against
- * \param cb1 First command byte to check
- * \param cb2 Second command byte to check
+ * \param[in] dataarr Command byte array to check against
+ * \param[in] cb1 First command byte to check
+ * \param[in] cb2 Second command byte to check
*/
#define IS_TWOBYTE_COMMAND(dataarr, cb1, cb2) ((dataarr[0] == cb1) && (dataarr[1] == cb2))
|