mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified
This commit is contained in:
parent
9a724d8b36
commit
f1e6ea46ed
2 changed files with 3 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ void up_lowputc(char ch)
|
|||
{
|
||||
/* Wait for the transmitter to be available */
|
||||
|
||||
while (((getreg32(SAM_CONSOLE_VBASE + SAM_UART_SR_OFFSET) &
|
||||
while ((getreg32(SAM_CONSOLE_VBASE + SAM_UART_SR_OFFSET) &
|
||||
UART_INT_TXEMPTY) == 0);
|
||||
|
||||
/* Disable interrupts so that the test and the transmission are
|
||||
|
|
|
|||
|
|
@ -3373,6 +3373,7 @@ static int sam_ep_configure(struct usbdev_ep_s *ep,
|
|||
bool last)
|
||||
{
|
||||
struct sam_ep_s *privep = (struct sam_ep_s *)ep;
|
||||
struct sam_usbdev_s *priv;
|
||||
int ret;
|
||||
|
||||
/* Verify parameters. Endpoint 0 is not available at this interface */
|
||||
|
|
@ -3394,6 +3395,7 @@ static int sam_ep_configure(struct usbdev_ep_s *ep,
|
|||
* configured.
|
||||
*/
|
||||
|
||||
priv = privep->dev;
|
||||
priv->devstate = UDPHS_DEVSTATE_CONFIGURED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue