You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/05/15 19:32:49 UTC

[GitHub] [mynewt-core] nanguoguangzi commented on a change in pull request #1818: sensors/bma253: sensor driver with the following changes

nanguoguangzi commented on a change in pull request #1818: sensors/bma253: sensor driver with the following changes
URL: https://github.com/apache/mynewt-core/pull/1818#discussion_r284416790
 
 

 ##########
 File path: hw/drivers/sensors/bma253/src/bma253_shell.c
 ##########
 @@ -256,10 +271,11 @@ bma253_stream_read_cmd(struct bma253 * bma253,
         return EINVAL;
     }
 
-    return bma253_stream_read(bma253,
-                              bma253_stream_read_cb,
-                              &ctx,
-                              0);
+    return bma253_stream_read(&bma253->sensor,   //zg
 
 Review comment:
   will do, thanks for comments

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services