Fix some printf/scanf format strings

This commit is contained in:
pwpiwi 2020-05-11 14:46:22 +02:00
commit 98a67bc908
10 changed files with 29 additions and 32 deletions

View file

@ -335,10 +335,10 @@ int CmdFPGAOff(const char *Cmd)
int CmdLCD(const char *Cmd)
{
int i, j;
unsigned int i, j;
UsbCommand c={CMD_LCD};
sscanf(Cmd, "%x %d", &i, &j);
sscanf(Cmd, "%x %u", &i, &j);
while (j--) {
c.arg[0] = i & 0x1ff;
SendCommand(&c);