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 2018/05/22 19:47:00 UTC

[GitHub] aditihilbert closed pull request #1114: kernel/os; minor fixes to comments. Remove obsolete define.

aditihilbert closed pull request #1114: kernel/os; minor fixes to comments. Remove obsolete define.
URL: https://github.com/apache/mynewt-core/pull/1114
 
 
   

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/kernel/os/include/os/os_callout.h b/kernel/os/include/os/os_callout.h
index ce63da5a6..7efa34f32 100644
--- a/kernel/os/include/os/os_callout.h
+++ b/kernel/os/include/os/os_callout.h
@@ -31,8 +31,6 @@
 extern "C" {
 #endif
 
-#define OS_CALLOUT_F_QUEUED (0x01)
-
 #include "os/os_eventq.h"
 #include <stddef.h>
 
@@ -101,8 +99,8 @@ void os_callout_stop(struct os_callout *);
  */
 int os_callout_reset(struct os_callout *, int32_t);
 
-/*
- * Returns the number of ticks which remains to callout..
+/**
+ * Returns the number of ticks which remains to callout.
  *
  * @param c The callout to check
  * @param now The current time in OS ticks
@@ -111,10 +109,8 @@ int os_callout_reset(struct os_callout *, int32_t);
  */
 os_time_t os_callout_remaining_ticks(struct os_callout *, os_time_t);
 
-
 /**
- * Returned whether or not the callout has been posted to it's
- * event queue.
+ * Returns whether the callout is pending or not.
  *
  * @param c The callout to check
  *


 

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


With regards,
Apache Git Services