mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Sansa Connect: fix a likely typo in busy wait loop in USB driver
GCC 9.5 issues a -Wmisleading-indentation warning due to an extra semicolon at the end of the while loop. It does seem unintentional since the loop is a busy wait, so remove the semicolon. Change-Id: I83b8676cbf38434b8148c43906c6bba9c16d036e
This commit is contained in:
parent
4377d4b0fa
commit
64d8fc7c0c
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ static int tnetv_hw_reset(void)
|
||||||
VL_CTRL &= ~VLYNQ_CTL_RESET_MASK;
|
VL_CTRL &= ~VLYNQ_CTL_RESET_MASK;
|
||||||
|
|
||||||
timeout = 0;
|
timeout = 0;
|
||||||
while (!(VL_STAT & VLYNQ_STS_LINK_MASK) && timeout++ < 50);
|
while (!(VL_STAT & VLYNQ_STS_LINK_MASK) && timeout++ < 50)
|
||||||
{
|
{
|
||||||
mdelay(40);
|
mdelay(40);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue