mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
Update some comments
This commit is contained in:
@@ -1952,6 +1952,13 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
|
|||||||
delay = 1000;
|
delay = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Wait for the next polling interval.
|
||||||
|
*
|
||||||
|
* REVISIT: This delay could require more resolution than
|
||||||
|
* is provided by the system timer. In that case, the
|
||||||
|
* delay could be significantly longer than required.
|
||||||
|
*/
|
||||||
|
|
||||||
usleep(delay);
|
usleep(delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1957,6 +1957,13 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
|
|||||||
delay = 1000;
|
delay = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Wait for the next polling interval.
|
||||||
|
*
|
||||||
|
* REVISIT: This delay could require more resolution than
|
||||||
|
* is provided by the system timer. In that case, the
|
||||||
|
* delay could be significantly longer than required.
|
||||||
|
*/
|
||||||
|
|
||||||
usleep(delay);
|
usleep(delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1951,6 +1951,13 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
|
|||||||
delay = 1000;
|
delay = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Wait for the next polling interval.
|
||||||
|
*
|
||||||
|
* REVISIT: This delay could require more resolution than
|
||||||
|
* is provided by the system timer. In that case, the
|
||||||
|
* delay could be significantly longer than required.
|
||||||
|
*/
|
||||||
|
|
||||||
usleep(delay);
|
usleep(delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1956,6 +1956,13 @@ static ssize_t stm32l4_in_transfer(FAR struct stm32l4_usbhost_s *priv,
|
|||||||
delay = 1000;
|
delay = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Wait for the next polling interval.
|
||||||
|
*
|
||||||
|
* REVISIT: This delay could require more resolution than
|
||||||
|
* is provided by the system timer. In that case, the
|
||||||
|
* delay could be significantly longer than required.
|
||||||
|
*/
|
||||||
|
|
||||||
usleep(delay);
|
usleep(delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user