mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:22:18 +08:00
SAMA5 fix compiler warning in sam_adc.c
This commit is contained in:
committed by
Alan C. Assis
parent
7541311ac0
commit
bb7dce11a2
@@ -1340,7 +1340,11 @@ static int sam_adc_ioctl(struct adc_dev_s *dev, int cmd, unsigned long arg)
|
|||||||
{
|
{
|
||||||
#ifdef CONFIG_SAMA5_ADC_SWTRIG
|
#ifdef CONFIG_SAMA5_ADC_SWTRIG
|
||||||
struct sam_adc_s *priv = (struct sam_adc_s *)dev->ad_priv;
|
struct sam_adc_s *priv = (struct sam_adc_s *)dev->ad_priv;
|
||||||
|
# ifndef CONFIG_SAMA5_ADC_REGDEBUG
|
||||||
|
UNUSED(priv);
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int ret = OK;
|
int ret = OK;
|
||||||
|
|
||||||
ainfo("cmd=%d arg=%ld\n", cmd, arg);
|
ainfo("cmd=%d arg=%ld\n", cmd, arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user