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 2020/04/24 12:55:58 UTC

[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on a change in pull request #807: Minor coding style fixes

andrzej-kaczmarek commented on a change in pull request #807:
URL: https://github.com/apache/mynewt-nimble/pull/807#discussion_r414553987



##########
File path: apps/blestress/src/tx_stress.c
##########
@@ -1292,14 +1292,14 @@ tx_stress_14_subs_cb(uint16_t conn_handle, const struct ble_gatt_error *error,
     assert(error->status == 0);
 
     /* If the first subscription after finding cccd */
-    if(arg == NULL) {
+    if (arg == NULL) {
         return 0;
     }
 
-    sub = (bool*)arg;
+    sub = (bool *) arg;

Review comment:
       iirc we do not add space between cast and variable name




----------------------------------------------------------------
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