cyu30s.h file issue in version 1.2 | Cypress Semiconductor
cyu30s.h file issue in version 1.2
I am compiling some examples off the web and ran into an issue with the CyU3PDmaBufferFee prototype below found in cyu3os.h. The example code has the return code returning no argument so it's expecting a void. This code has the return type defined as an extern int but in the comments it says it returns nothing. What should it be?
void *buffer /** );
/** \brief Fill a region of memory with a specified value.
This function is a memset equivalent and is used by the firmware library code.
It can also be used by the application firmware.