mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
imxrt/adc: always increase initialization counter when adc_setup called
This commit is contained in:
@@ -513,6 +513,7 @@ static int adc_setup(struct adc_dev_s *dev)
|
||||
|
||||
if (priv->initialized > 0)
|
||||
{
|
||||
priv->initialized++;
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user