Remove a warning
This commit is contained in:
parent
6da2658fdd
commit
ed5620897f
@ -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
|
||||
****************************************************************************/
|
||||
|
@ -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
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user