mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
imxrt/adc: always increase initialization counter when adc_setup called
This commit is contained in:
parent
f64833b36d
commit
8d4962ad21
1 changed files with 1 additions and 0 deletions
|
|
@ -513,6 +513,7 @@ static int adc_setup(struct adc_dev_s *dev)
|
|||
|
||||
if (priv->initialized > 0)
|
||||
{
|
||||
priv->initialized++;
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue