supervillain101 commented on a change in pull request #2376: URL: https://github.com/apache/mynewt-core/pull/2376#discussion_r489109109
########## File path: hw/drivers/sensors/bmp388/src/bmp388.c ########## @@ -3416,8 +3625,10 @@ bmp388_sensor_read(struct sensor *sensor, sensor_type_t type, if (cfg->read_mode.mode == BMP388_READ_M_POLL) { rc = bmp388_poll_read(sensor, type, data_func, data_arg, timeout); - } else { + } else if (cfg->read_mode.mode == BMP388_READ_M_STREAM) { rc = bmp388_stream_read(sensor, type, data_func, data_arg, timeout); + } else { // hybrid mode Review comment: Done ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org