I am newbie in C. I do not know why I am getting this error and how to fix it?
void FPS_PRINT_ENROLLED(){
int checkNum = 0;
int ID = 0;
int num_Enroll = 0;
num_Enroll = Available_ID();
char strNum[3] = 0;
itoa(num_Enroll, strNum);
uint32_t numLen = strlen((char *)strNum);
UART_send_A3("Number of Stored Prints: ", 25);
UART_send_A3(&strNum, numLen);
}
The error message is: array initializer must be an initializer list or string literal
Please see the attached screenshot of the error message. Also, the c file is attached.
By the way, this is in PSoC Creator 4.1 which uses C language.