Skip to content

Commit

Permalink
Various locations: Fix typos due to missing right parenthese. Thanks …
Browse files Browse the repository at this point in the history
…to hyungsubkim for posting Issue #102
  • Loading branch information
gregory-nutt committed Jun 16, 2018
1 parent edd4d44 commit 9e872fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/src/efm32/efm32_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/efm32/efm32_usbhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion arch/renesas/src/m16c/m16c_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e872fd

Please sign in to comment.