hartmannathan commented on code in PR #17708:
URL: https://github.com/apache/nuttx/pull/17708#discussion_r2658028170
##########
include/nuttx/analog/adc.h:
##########
@@ -213,7 +213,7 @@ struct adc_dev_s
uint8_t ad_ocount; /* The number of times the device
has been opened */
uint8_t ad_nrxwaiters; /* Number of threads waiting to
enqueue a message */
- mutex_t ad_closelock; /* Locks out new opens while
close is in progress */
+ mutex_t ad_lock; /* Locks use in adc open、close
and read */
Review Comment:
```suggestion
mutex_t ad_lock; /* Locks used in adc open、close
and read */
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]