mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
fix typo
Change-Id: Ic357f82d61cc0004ac6193fa9dbbc90976042574
This commit is contained in:
parent
d9da4833a7
commit
2f3801be34
1 changed files with 2 additions and 2 deletions
|
|
@ -308,13 +308,13 @@ int get_model_id(unsigned long *model_id)
|
|||
if(ret)
|
||||
{
|
||||
cprintf(RED, "Cannot get model ID from device: %d\n", ret);
|
||||
cprintf(RED, "You device is most likely not compatible with this tool.\n");
|
||||
cprintf(RED, "Your device is most likely not compatible with this tool.\n");
|
||||
return 2;
|
||||
}
|
||||
if(mid_buf_size != sizeof(mid_buf))
|
||||
{
|
||||
cprintf(RED, "Cannot get model ID from device: device didn't send the expected amount of data\n");
|
||||
cprintf(RED, "You device is most likely not compatible with this tool.\n");
|
||||
cprintf(RED, "Your device is most likely not compatible with this tool.\n");
|
||||
return 3;
|
||||
}
|
||||
*model_id = get_big_endian32(&mid_buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue