samv7/adc: always increase initialization counter when adc_setup called
This commit is contained in:
parent
cf4b8dbfa3
commit
c93c0ecd81
1 changed files with 1 additions and 0 deletions
|
@ -868,6 +868,7 @@ static int afec_setup(struct adc_dev_s *dev)
|
|||
|
||||
if (priv->initialized > 0)
|
||||
{
|
||||
priv->initialized++;
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue