-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: make the 2^x requirement for msg_queue more visible #6003
doc: make the 2^x requirement for msg_queue more visible #6003
Conversation
@@ -365,6 +365,8 @@ int msg_avail(void); | |||
/** | |||
* @brief Initialize the current thread's message queue. | |||
* | |||
* @pre @p num **must be a power of two** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we remove the second line of the parameter documentation, then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I would keep the upper case here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought maybe have it documented double might help, but sure upper case is always better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
I'm not sure that duplicating this information will help a lot in order to reduce the questions on the mailing list/issue tracker, because many people tend just not to read the documentation anyway. However, it is worth a try. |
Well that sounds fatalistic :D |
That's why I also added it to the boiler plate tutorials ;-) |
This should go in today, right? Please squash your second commit |
78ec200
to
f93ab1a
Compare
Squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Murdock failed unrelated. This is just documentation, no need to stress Murdock with that. ACK
My reaction to https://lists.riot-os.org/pipermail/users/2016-October/000695.html