mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 20:59:02 +00:00
SAMA5 fix compiler warning in sam_adc.c
This commit is contained in:
parent
7541311ac0
commit
bb7dce11a2
1 changed files with 4 additions and 0 deletions
|
|
@ -1340,7 +1340,11 @@ static int sam_adc_ioctl(struct adc_dev_s *dev, int cmd, unsigned long arg)
|
|||
{
|
||||
#ifdef CONFIG_SAMA5_ADC_SWTRIG
|
||||
struct sam_adc_s *priv = (struct sam_adc_s *)dev->ad_priv;
|
||||
# ifndef CONFIG_SAMA5_ADC_REGDEBUG
|
||||
UNUSED(priv);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
int ret = OK;
|
||||
|
||||
ainfo("cmd=%d arg=%ld\n", cmd, arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue