andrzej-kaczmarek closed pull request #36: Remove misleading comments
URL: https://github.com/apache/mynewt-nimble/pull/36
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/nimble/host/services/ans/src/ble_svc_ans.c 
b/nimble/host/services/ans/src/ble_svc_ans.c
index 7b75de4e..decffac3 100644
--- a/nimble/host/services/ans/src/ble_svc_ans.c
+++ b/nimble/host/services/ans/src/ble_svc_ans.c
@@ -443,8 +443,6 @@ ble_svc_ans_chr_write(struct os_mbuf *om, uint16_t min_len,
  * 
  * XXX: We should technically be able to change the new alert and
  *      unread alert catagories when we have no active connections.
- * 
- * @return 0 on success, non-zero error code otherwise.
  */
 void
 ble_svc_ans_init(void)
diff --git a/nimble/host/services/bas/src/ble_svc_bas.c 
b/nimble/host/services/bas/src/ble_svc_bas.c
index 86dd2601..ac8d5b58 100644
--- a/nimble/host/services/bas/src/ble_svc_bas.c
+++ b/nimble/host/services/bas/src/ble_svc_bas.c
@@ -133,8 +133,6 @@ ble_svc_bas_battery_level_set(uint8_t level) {
 
 /**
  * Initialize the Battery Service.
- * 
- * @return 0 on success, non-zero error code otherwise.
  */
 void
 ble_svc_bas_init(void)


 

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

Reply via email to