mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 05:02:07 +00:00
Use seperate ATTR_NON_NULL_PTR_ARG() decorators in the XMEGA TWI driver to prevent Doxygen from choking.
This commit is contained in:
parent
fd524b0e00
commit
c02a2c5257
@ -14,6 +14,7 @@
|
|||||||
* - Added new Printer Device Class driver
|
* - Added new Printer Device Class driver
|
||||||
* - Added support for the XMEGA C3 Xplained board
|
* - Added support for the XMEGA C3 Xplained board
|
||||||
* - Added support for the U2S board (thanks to megal0maniac)
|
* - Added support for the U2S board (thanks to megal0maniac)
|
||||||
|
* - Added TWI Master driver for the XMEGA architecture (thanks to Michael Janssen)
|
||||||
* - Library Applications:
|
* - Library Applications:
|
||||||
* - Added new Printer class bootloader
|
* - Added new Printer class bootloader
|
||||||
* - Added new Mass Storage class bootloader
|
* - Added new Mass Storage class bootloader
|
||||||
|
@ -247,7 +247,7 @@
|
|||||||
*/
|
*/
|
||||||
bool TWI_ReceiveByte(TWI_t* const TWI,
|
bool TWI_ReceiveByte(TWI_t* const TWI,
|
||||||
uint8_t* const Byte,
|
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
|
/** High level function to perform a complete packet transfer over the TWI bus to the specified
|
||||||
* device.
|
* device.
|
||||||
@ -268,7 +268,7 @@
|
|||||||
const uint8_t* InternalAddress,
|
const uint8_t* InternalAddress,
|
||||||
uint8_t InternalAddressLen,
|
uint8_t InternalAddressLen,
|
||||||
uint8_t* Buffer,
|
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
|
/** High level function to perform a complete packet transfer over the TWI bus from the specified
|
||||||
* device.
|
* device.
|
||||||
@ -289,7 +289,7 @@
|
|||||||
const uint8_t* InternalAddress,
|
const uint8_t* InternalAddress,
|
||||||
uint8_t InternalAddressLen,
|
uint8_t InternalAddressLen,
|
||||||
const uint8_t* Buffer,
|
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: */
|
/* Disable C linkage for C++ Compilers: */
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
Loading…
Reference in New Issue
Block a user