mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Fix some printf/scanf format strings
This commit is contained in:
parent
ebf1404a81
commit
98a67bc908
10 changed files with 29 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue