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:
parent
5502257e02
commit
d2b31c1770
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue