mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 09:40:06 +00:00
fix arguable bug caught as warning by LLVM embedded toolchain for ARM 14.0.0
This commit is contained in:
parent
23c9353cd8
commit
0d72f153cf
@ -398,7 +398,7 @@ static void dump_str_line(uint8_t const* buf, uint16_t count) {
|
||||
tu_printf(" |");
|
||||
// each line is 16 bytes
|
||||
for (uint16_t i = 0; i < count; i++) {
|
||||
const char ch = buf[i];
|
||||
int ch = buf[i];
|
||||
tu_printf("%c", isprint(ch) ? ch : '.');
|
||||
}
|
||||
tu_printf("|\r\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user