anchao commented on code in PR #15875: URL: https://github.com/apache/nuttx/pull/15875#discussion_r1962716058
########## drivers/sensors/ms56xx_uorb.c: ########## @@ -286,7 +286,7 @@ static inline void baro_measure_read(FAR struct ms56xx_dev_s *priv, /* Wait data acquisition */ - up_udelay(10000); + nxsig_usleep(10000); Review Comment: Why not replace all up_udelays() to nxsig_usleep()(? I think this will be more efficient in CPU utilization. -- 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