Merge pull request #1933 from kilograham/rp2040_llvm_tweaks

make rp2040 code compile cleanly with LLVM embedded toochain for ARM.
This commit is contained in:
Ha Thach
2023-03-06 15:24:51 +07:00
committed by GitHub
3 changed files with 19 additions and 5 deletions

View File

@@ -413,7 +413,7 @@ void cli_cmd_cat(EmbeddedCli *cli, char *args, void *context)
{
for(UINT c = 0; c < count; c++)
{
const char ch = buf[c];
const uint8_t ch = buf[c];
if (isprint(ch) || iscntrl(ch))
{
putchar(ch);