diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-13 21:46:41 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-13 21:46:41 +0200 |
commit | c02a2c5257b5628295d587298811226abdfe064d (patch) | |
tree | 0a924b566d73799875fe2c309c67ec6697914288 /LUFA/Drivers | |
parent | fd524b0e005ef3afc9de906fbb7a0b6edd89156f (diff) | |
download | lufa-c02a2c5257b5628295d587298811226abdfe064d.tar.gz lufa-c02a2c5257b5628295d587298811226abdfe064d.tar.bz2 lufa-c02a2c5257b5628295d587298811226abdfe064d.zip |
Use seperate ATTR_NON_NULL_PTR_ARG() decorators in the XMEGA TWI driver to prevent Doxygen from choking.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h b/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h index 1f45263aa..8ea19e552 100644 --- a/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h +++ b/LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h @@ -247,7 +247,7 @@ */ bool TWI_ReceiveByte(TWI_t* const TWI, uint8_t* const Byte, - const bool LastByte) ATTR_NON_NULL_PTR_ARG(1, 2); + const bool LastByte) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /** High level function to perform a complete packet transfer over the TWI bus to the specified * device. @@ -268,7 +268,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(1, 4); + uint8_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); /** High level function to perform a complete packet transfer over the TWI bus from the specified * device. @@ -289,7 +289,7 @@ const uint8_t* InternalAddress, uint8_t InternalAddressLen, const uint8_t* Buffer, - uint8_t Length) ATTR_NON_NULL_PTR_ARG(1, 4); + uint8_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(4); /* Disable C linkage for C++ Compilers: */ #if defined(__cplusplus) |