1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Fixed some comparion sign warnings

This commit is contained in:
Martin Budden 2017-08-16 11:30:00 +01:00
parent 5502257e02
commit d2b31c1770
3 changed files with 3 additions and 3 deletions

View file

@ -452,7 +452,7 @@ static void osdDrawSingleElement(uint8_t item)
if (strlen(pilotConfig()->name) == 0)
strcpy(buff, "CRAFT_NAME");
else {
for (int i = 0; i < MAX_NAME_LENGTH; i++) {
for (unsigned int i = 0; i < MAX_NAME_LENGTH; i++) {
buff[i] = toupper((unsigned char)pilotConfig()->name[i]);
if (pilotConfig()->name[i] == 0)
break;