mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge pull request #3864 from martinbudden/bf_comparison_sign
Fixed some comparion sign warnings in MAX macros
This commit is contained in:
commit
5502257e02
5 changed files with 6 additions and 6 deletions
|
@ -1924,7 +1924,7 @@ static void printName(uint8_t dumpMask, const pilotConfig_t *pilotConfig)
|
|||
|
||||
static void cliName(char *cmdline)
|
||||
{
|
||||
const uint32_t len = strlen(cmdline);
|
||||
const int len = strlen(cmdline);
|
||||
if (len > 0) {
|
||||
memset(pilotConfigMutable()->name, 0, ARRAYLEN(pilotConfig()->name));
|
||||
if (strncmp(cmdline, emptyName, len)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue