Various locations: Fix typos due to missing right parenthese. Thanks to hyungsubkim for posting Issue #102
This commit is contained in:
parent
edd4d44fba
commit
9e872fd993
@ -755,7 +755,7 @@ static int efm32_rxinterrupt(int irq, void *context, void *arg)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int efm32_txinterrupt((int irq, void *context, void *arg)
|
||||
static int efm32_txinterrupt(int irq, void *context, void *arg)
|
||||
{
|
||||
struct uart_dev_s *dev = (struct uart_dev_s *)arg;
|
||||
struct efm32_usart_s *priv;
|
||||
|
@ -1925,7 +1925,7 @@ static ssize_t efm32_in_transfer(FAR struct efm32_usbhost_s *priv, int chidx,
|
||||
chan->xfrd = 0;
|
||||
|
||||
start = clock_systimer();
|
||||
while ((chan->xfrd < chan->buflen > 0)
|
||||
while (chan->xfrd < chan->buflen)
|
||||
{
|
||||
/* Set up for the wait BEFORE starting the transfer */
|
||||
|
||||
|
@ -582,7 +582,7 @@ static int up_setup(struct uart_dev_s *dev)
|
||||
if (priv->uartno == 2)
|
||||
{
|
||||
regval = getreg8(M16C_U2C1);
|
||||
regval |= ((UART_C1_U2IRS|UART_C1_U2RRM);
|
||||
regval |= (UART_C1_U2IRS|UART_C1_U2RRM);
|
||||
putreg8(regval, M16C_U2C1);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user