driver: remove -Wno-format flag

This commit is contained in:
morris
2022-08-04 13:08:48 +08:00
parent c25c254666
commit d91c8759c0
78 changed files with 132 additions and 174 deletions

View File

@@ -380,7 +380,7 @@ static int do_i2cdump_cmd(int argc, char **argv)
} else if ((block[k] & 0xff) < 32 || (block[k] & 0xff) >= 127) {
printf("?");
} else {
printf("%c", block[k] & 0xff);
printf("%c", (char)(block[k] & 0xff));
}
}
printf("\r\n");