pkarashchenko commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r983578005


##########
arch/arm/src/cxd56xx/cxd56_adc.c:
##########
@@ -174,7 +174,7 @@ struct cxd56adc_dev_s
   struct scufifo_wm_s *wm;        /* water mark */
   struct math_filter_s *filter;   /* math filter */
   struct scuev_notify_s * notify; /* notify */
-  sem_t            exclsem;       /* exclusive semaphore */
+  mutex_t          excllock;      /* exclusive mutex */

Review Comment:
   I think all similar can be replaced to `lock` or `mutex` as mutex itself is 
used for "exclusive access"



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to