arch/arm/src/stm32/stm32_adc.c: Very mysterious. Several configurations now fail to build stm32_adc.o. This chante avoids those build failures, yet I see no code changed in recent months that should affect this. Any insights anyone?
This commit is contained in:
parent
37f994207d
commit
bdb60ac2f7
@ -3011,6 +3011,7 @@ static int adc_ioctl(FAR struct adc_dev_s *dev, int cmd, unsigned long arg)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ADC
|
||||
if (ch)
|
||||
{
|
||||
/* Clear fifo */
|
||||
@ -3018,6 +3019,7 @@ static int adc_ioctl(FAR struct adc_dev_s *dev, int cmd, unsigned long arg)
|
||||
dev->ad_recv.af_head = 0;
|
||||
dev->ad_recv.af_tail = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
adc_startconv(priv, true);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user