Skip to content
Snippets Groups Projects
Commit 97d0c605 authored by dawehr's avatar dawehr
Browse files

Merge branch 'master' into controller-network

parents 64d7e934 185a12ad
No related branches found
No related tags found
No related merge requests found
......@@ -169,10 +169,11 @@ struct MessageType MessageTypes[MAX_TYPE_ID] =
int findCommand(char * str)
{
for (int i = 0; i < MAX_TYPE_ID; i++) {
int i;
for (i = 0; i < MAX_TYPE_ID; i++) {
if (strcmp(str, MessageTypes[i].cmdText) == 0) {
return i;
}
}
return -1;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment