Add map beating

This commit is contained in:
Miloslav Ciz 2025-01-27 23:46:44 +01:00
parent 2172fcedd1
commit ea105ba3f3
6 changed files with 119 additions and 18 deletions

View file

@ -66,4 +66,21 @@ uint16_t _LCR_simpleStrHash(char (*nextChar)(void), char endChar)
return r;
}
int _LCR_strCmp(const char *s1, const char *s2)
{
while (1)
{
if (*s1 != *s2)
return 0;
if (*s1 == 0)
break;
s1++;
s2++;
}
return 1;
}
#endif // guard