Fix more problems found in build testing.

This commit is contained in:
Gregory Nutt
2017-02-28 11:34:03 -06:00
parent 1c8d3e1f14
commit 70182bf690
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ xcpt_t stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge,
for (i = 0; i < nshared; i++)
{
if (shared_cbs[i].handler != NULL)
if (shared_cbs[i].callback != NULL)
{
break;
}
+1 -1
View File
@@ -306,7 +306,7 @@ static int up_setup(struct uart_dev_s *dev);
static void up_shutdown(struct uart_dev_s *dev);
static int up_attach(struct uart_dev_s *dev);
static void up_detach(struct uart_dev_s *dev);
static int up_interrupt(int irq, void *context, FAR void *arg)
static int up_interrupt(int irq, void *context, FAR void *arg);
static int up_ioctl(struct file *filep, int cmd, unsigned long arg);
#ifndef SERIAL_HAVE_ONLY_DMA
static int up_receive(struct uart_dev_s *dev, unsigned int *status);