Remove a warning

This commit is contained in:
Gregory Nutt 2018-09-16 13:04:12 -06:00
parent 6da2658fdd
commit ed5620897f
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/arm/src/sama5/sam_adc.c
*
* Copyright (C) 2013, 2014, 2017 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 2014, 2017-2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* References:
@ -972,11 +972,11 @@ static int sam_adc_interrupt(int irq, void *context, FAR void *arg)
/* Make sure that all interrupts were handled */
DEBUGASSERT(pending == 0);
UNUSED(priv); /* Not used in all configurations */
return OK;
}
#ifdef SAMA5_ADC_HAVE_CHANNELS
/****************************************************************************
* ADC methods
****************************************************************************/

View File

@ -119,7 +119,7 @@ extern "C"
* Initialize the ADC
*
* Returned Value:
* Valid can device structure reference on succcess; a NULL on failure
* Valid can device structure reference on success; a NULL on failure
*
****************************************************************************/