samv7/adc: always increase initialization counter when adc_setup called

This commit is contained in:
raiden00pl
2023-10-02 14:14:30 +02:00
committed by Xiang Xiao
parent 8d4962ad21
commit b259311d1b

View File

@@ -868,6 +868,7 @@ static int afec_setup(struct adc_dev_s *dev)
if (priv->initialized > 0)
{
priv->initialized++;
return OK;
}