Code: Select all
static void HELLO_TASK(void *param)
{
UNUSED(param);
for (;;)
{
printf("This is normal message1 without ANSI color code \n");
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
Make the type of this parameter a pointer-to-const. The current type of "param" is "void *".
What could be the issue with this and why is it giving a warning? I know its not a big deal but I am just curious to understand.