va_start(argPtr, x);
y = va_arg(argPtr, int);
z = va_arg(argPtr, int);
va_end(argPtr);
}
With best rehards
Gerhard
variable parameter list
Hi,
is there any issue ahead to use variable Parameter lists with FreeRTOS (reentrant, preemptive tasking …)
Here a sample to Show what I want to do:
void testdelegate(uint8t x, …)
{
va_list argPtr;
int y,z;
variable parameter list
Provided you have enough stack, you should not have a problem. We use variable argument lists to implement FreeRTOS_printf() in both FreeRTOS+TCP and FreeRTOS+FAT.
Regards.