We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
this is a part of my command decoder:
const char Command_D[] = {"D"}; //Command in Memory u8 In_Command[17]; //Command from USART
if (strcmp(Command_D, In_Command) == 0) { Run_Dump(); }
The code is compiled correctly and even works correctly, but the compiler says:
warning: #167-D: argument of type "unsigned char *" is incompatible with parameter of type "const char *"
I don't want to see a warning for each command to be decoded. So how can I work around this issue?