vrahane commented on a change in pull request #451: MYNEWT-816 SensorAPI: Add API for sensor poller & fix the poller callout URL: https://github.com/apache/mynewt-core/pull/451#discussion_r128850704
########## File path: hw/sensor/include/sensor/sensor.h ########## @@ -482,6 +482,15 @@ struct sensor *sensor_mgr_find_next_bydevname(char *, struct sensor *); */ int sensor_mgr_match_bytype(struct sensor *sensor, void *arg); +/** + * Set the sensor poll rate + * + * @param The devname + * @param The poll rate in milli seconds + */ +int +sensor_set_poll_rate_ms(char *devname, uint32_t poll_rate); Review comment: changed, done. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services